есть хмл документ

Код:
<?xml version="1.0" encoding="windows-1251"?>
<root>
<Menu1>
<Name>Horizontal level</Name>
<SubMenu>Assembly of the device1</SubMenu>
<SubMenu>Mount the location fixture before the last head part1</SubMenu>
<SubMenu>At last mount the head part1</SubMenu>
</Menu1>
<Menu2>
<Name>Vertical level</Name>
<SubMenu>Assembly of the device2</SubMenu>
<SubMenu>Mount the location fixture before the last head part2</SubMenu>
<SubMenu>At last mount the head part2</SubMenu>
</Menu2>
</root>
при парсинге

Код:
public class ParseXml {
trace("ParseXml");
private var xDoc:XMLDocument;
private var xmlString:URLRequest = new URLRequest("xml/menu.xml");
private var xmlLoader:URLLoader = new URLLoader(xmlString);
function ParseXml() {
xmlLoader.addEventListener("complete", init);
}
function init(event:Event):void {
var xDoc:XMLDocument = new XMLDocument();
xDoc.ignoreWhite = true;
var menuXML:XML = XML(xmlLoader.data);
xDoc.parseXML(menuXML.toXMLString());
trace(xDoc.firstChild.childNodes[0].childNodes[0]);
}
public function xmlDocument():XMLDocument {
return xDoc;
}
}
в трейсере

Код:
trace(xDoc.firstChild.childNodes[0].childNodes[0]);
выводит

Код:
<Name>Horizontal level</Name>
но если

Код:
trace(xDoc.firstChild.childNodes[0].childNodes[0]).nodeValue);
возвращает null.
Как получить Horizontal level?