Get XML Node Without Name

Does anyone know of a way to get an XML node’s name? Or to call the node without knowing it’s name? I’m looking for something generic and reusable, with the child-node name not hard coded. My XML looks like this:

<list>
  <doc>145</doc>
  <doc>388</doc>
  ...
  <doc>375</doc>
</list>

And my .as class looks like this:

listLoader = new URLLoader(new URLRequest(address));
xmlData = XML(listLoader.data);

for(var i:int = 0; i < xmlData.doc.length(); i++)
{
    xmlNum = Number(xmlData.doc*);
    fileNumArray.push(xmlNum);
}

I’ve tried to import a string into the class to replace “doc”, using XMLList, descendants, elements, children, etc. and nothing seems to work short of turning the whole thing into a string and chopping it up later. Any advice? Thanks