I will try your suggestion. Thank you.
--- In flexcoders@yahoogroups.com, "Djamshed" <[EMAIL PROTECTED]> wrote:
>
> you could try first converting xml to XMLListCollection, which is
> convertable to Array:
>
> var xmlListCollection: XMLListCollection= new
> XMLListCollection(resultXML.children());
>
> var resultArray:Array = xmlListCollection.toArray();
>
> //to convert to ArrayCollection, 1 more step to go
> var resultCollection:ArrayCollection = new ArrayCollection(resultArray);
>
>
> probably there are more efficient ways to do so, but this is the one
> that just works...
>
> cheers,
> Djam.
>
>
>
> --- In flexcoders@yahoogroups.com, "sdl1326" <azsl1326-email@> wrote:
> >
> > I am retrieving the following xml via httpsService with the result
> > format being 'e4x'.
> > <projects>
> > <project date="08/01/08" description="Development" hours="4"
> > user="AA">Q3</project>
> > <project date="08/01/08" description="Development" hours="3"
> > user="AA">Q4</project>
> > <project date="08/04/08" description="Development" hours="4"
> > user="AA">Q3</project>
> > <project date="08/04/08" description="Development" hours="3"
> > user="BB">Q4</project>
> > <project date="08/05/08" description="Refinement" hours="6"
> > user="BB">Q3</project>
> > <project date="08/06/08" description="Refinement" hours="3"
> > user="CC">Q3</project>
> > <project date="08/07/08" description="Development" hours="2"
> > user="CC">Q3</project>
> > <project date="08/08/08" description="Development" hours="2"
> > user="CC">Q3</project>
> > </projects>
> > What's the best way to convert an XMLList to an ArrayCollection?
Is it
> > possible to do so without knowing the names of the attributes?
> >
> > Thanks for the assistance.
> >
>