If my xml is in the form of multiple nested "nodes?" then how
can i go about serilizing them and retrieving them properly?
Example, if my xml looked like this:
then displaying the value would be easy to do in my Datagrid,
i would just say use "myHTTPservice.lastResult.data.value" and it
would display in the grid but if my data is more complex like this:
How would I in theory go about serializing the say "name"
into an array my datagrid could use? if i say the dataprovider is
"myHTTPservice.lastResult.heading.name then i dont get an array,
how do say i want all the names found in the heading to be put in
an array? do have to do this manually on result from my HTTPservice
and if so any pointers would be good! thank you!
I believe you can do: lastResult..name to make an XMLList of
the <name> nodes (note 2 dots).
But if your dataProvider is an XMLList of <heading>
items, then your DataGridColumn dataField="name" should work since
to retrieve the name value from any item is: item.name. Peter Ent
Senior Flex Product Support Engineer