Flash XML/XPATH

//Global XML Menu System
import mx.xpath.XPathAPI;
menuXML = new XML();
menuXML.load("nt_mc_menus.xml");
menuXML.ignoreWhite = true;
menuXML.onLoad = function(){
 var path:String = "nutrilite/nature/whynutrilite/menu[@name='our history']";
 arNodes = mx.xpath.XPathAPI.selectNodeList(menuXML.firstChild, path);
 trace(arNodes.attributes["name"]);
}

Why is this tracing a value of undefined? I know it is returning in an array but this seems pretty simple…its picking off the correct node I cant seem to figure out how to grab the attribute value of name.