I have an xml file like this:
<files>
<one>
<link>www.example.com</link>
<name>this is element one</name>
</one>
<two>
<link>www.otherexample.com</link>
<name>this is element two</name>
</two>
</files>
I need to be able to cycle through each child of files (one, two, etc) and extract all their data into a 2D array (the first row contains links, the second contains names)… however I’m really rusty with XML in as2… could anyone possibly whip me up a quick code sample that could accomplish this?
I’d really appreciate the help