Display several childNodes in text field?

I just can’t figure it out within the Actionscript: How can I display an unknown list of childNodes (from my xml file) in a single text area? I want to be able to just edit my xml file with new content, and have the flash file automatically update.
I am trying to create a resources page, where I can display links (“url”) under specific headings (“name”).

I have the following AS code so far working properly, but it doesn’t display the next childNode:

function loadXML(loaded) {
if (loaded) {
_root.link =
this.firstChild.childNodes[ 0].childNodes[ 0].firstChild.nodeValue;
_root.url =
this.firstChild.childNodes[ 0].childNodes[ 1].firstChild.nodeValue;
name_txt.text = _root.link;
url_txt.text = _root.url;
} else {
trace(“file not loaded!”);
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“resources.xml”);

My XML file:

<?xml version=“1.0”?>

<resources>
<link>
<name>My Category Heading</name>
<url>http://www.somewebsite.com</url>
<url>http://www.anotherwebsite.com</url>
</link>
</resources>

Besides having to edit the XML file to display clickable urls (will be using CDATA), how do I change the AS in Flash to display as many <url>'s as I need?

thanks!