I'm pretty new to XML in flex too.  I had about the exact same
question as you 30 min ago.

This link helped a lot:
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=13_Working_with_XML_169_08.html

At the end it shows for..in and for each..in.  That should help you
walk through it.  Since you don't know anything about the XML I'm not
sure how you would get the walking started...

That link should help you learn until someone smarter answers :).

-Nate


--- In [email protected], "Kevin Aebig" <[EMAIL PROTECTED]> wrote:
>
> Hey all,
> 
>  
> 
> First post, so be gentle. 
> 
>  
> 
> Back in the ol days, Flash developers had to use recursion to parse
through
> an XML document. I'm finding myself again in this position, but
don't know
> how to proceed as my initial attempts don't recurse currently. Also, I'd
> like to find out if there is a better way to do it with AS3 these days.
> 
>  
> 
> Basically I need to be able to look at every node and tell:
> 
> -          whether or not it has specific attributes
> 
> -          whether or not it has children
> 
>  
> 
> I know this seems easy, but the XML structure isn't known beforehand, so
> using simple object notation seems futile.
> 
>  
> 
> Thanks for any help you can provide.
> 
>  
> 
> !k
>


Reply via email to