the easiest thing is to use xpath
checkout www.xfactorstudio.com for his xpath implementation

On 11/24/05, papuss65 < [EMAIL PROTECTED]> wrote:
Hi, am new to Flex and Actionscript and I am trying to get my head
around looping through XML attributes. Actionscript seems quite
complex when dealing with XML so I was hoping someone here could give
me a hand.

To begin with I would like to put the information in a Tree or DataGrid.

So far, I get my XML:

<mx:HTTPService id="srv" url="" { url }"
        resultFormat="xml"/>

then I can read/display

srv.result.childNodes[a].childNodes[b].attributes.Type

I want to be able to loop through [a] and [b] and get all the
attributes.ID as my column or tree nodes. I guess.. where to start..
is my problem. Thanks







------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






--
j:pn


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to