Load XML-menu

I want to load a menu from a XML-doc.

I have:

xStart = 5;
yStart = 48;
bHeight = 15;
var menuXml = new XML();
loadXml(“menu.php”);
function loadXml(file:String) {
menuXml.ignoreWhite = true;
menuXml.onLoad = loadMapData();
menuXml.load(file);
function loadMapData() {
for (var i = 0; i<this.firstChild.childNodes.length; i++) {
var bn = this.firstChild.childNodes*.attributes.category_id;
var b = _root.attachMovie(“MenuItem”, bn, i);
b._x = xStart;
b._y = yStart+(bHeighti);
b.txt = bn;
b.onPress = function() {
trace(this.firstChild.childNodes
.attributes.category_id);
target = this._y;
};
}
}
}

my menu.php create the following:

<?xml version=“1.0”?>
<menu>
<category category_id=“menu1”>menu 1</category>
<category category_id=“menu2”>menu 2</category>
<category category_id=“menu3”>menu 3</category>
<category category_id=“menu4”>menu 4</category>
</menu>

It doesn’t seems as it loads anything from the document.