This content has been marked as final. Show 2 replies
-> Comparison with XML-data constructed with a XML-tag in Flex (mx:XML) has taught me that the XML-data needs to be converted to an XMLListCollection
hmm, not quit true, if you set the dataprovider to an XML object, the data will be converted to an XMLListCollection with only one item.
Basically I would expect your xml to be returned as an ArrayCollection (default behaviour) which can serve as the dataprovider for the adg.
"EdwinvD" <firstname.lastname@example.org> wrote in message
> Hi All,
> I am trying to get XML-data generated by a PHP-page (based on data out of
> MySQL-database) displayed in a AdvancedDataGrid. I cannot get it to work.
> Comparison with XML-data constructed with a XML-tag in Flex (mx:XML) has
> me that the XML-data needs to be converted to an XMLListCollection in
> order to
> get the tree-property of the ADG filled with the XML-data (and thereby
> displayed in the ADG itself). And for some reason the XML-data coming out
> PHP cannot be converted to an XMLListCollection. The ADG fails silently on
> but if I try to convert the XML to an XMLListCollection I get a
> Converting it to an XMLList is no problem.
> So my question is what are the differences between XML/XMLList and the
> XMLListCollection that I have to take into account for doing a successfull
> For information. I have generated the XML out of PHP both via a loop
> for-routine (as regular text so to say) and via the functions of
> and I have been playing around with the chosen character set but that has
> made any difference.