Attributes VS. Nested

Flashlevel recreation using resizable image loader,
Changed the images to load from XML using Attributes instead of Nested Elements. Now images wont load. What is up? help.

Heres Old code for Thumbnail Nav using Nested:
images = new Array();
xml_file = “images.xml”;
xmlload = new XML();
xmlload.ignoreWhite = true;
xmlload.onLoad = function(ok) {
if (ok) {
count = this.firstChild.childNodes.length;
for (var i = 0; i<count; i++) {
curNode = this.firstChild.childNodes*;
images* = {path:curNode.childNodes[0].firstChild.nodeValue,link:curNode.childNodes[1].firstChild.nodeValue,caption:curNode.childNodes[2].firstChild.nodeValue};
}
boot();
} else {
trace(“Could not load “+xml_file+”.”);
}
};
xmlload.load(xml_file);

spacing = 5;
boot = function () {
for (var i = 0; i<images.length; i++) {
mc = container.attachMovie(“thumbMC”, “thumb”+i, i);
mc._y = i*(65+spacing);
mc.path = images*.path;
mc.link = images*.link;
mc.over.captionMC.caption.text = images*.caption;

Heres New code using Attributes:
var x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
x.onLoad = function() {
var gallery:Array = this.firstChild.childNodes;
for (i=0;i<gallery.length;i++) {
urls.push(gallery.childNodes*.attributes.url);
}
}
x.load(“gallery.xml”);
spacing = 5;
boot = function () {
for (var i=0;i<gallery.length;i++) {
mc = container.attachMovie(“thumbMC”, “thumb”+i, i);
mc._x = i*(60+spacing);
mc.url = images*.url;
}
setRollOver();
};

But thumbnails wont load now. Can any one help. XML is attached as well. please help.

<?xml version=“1.0” encoding=“UTF-8”?>
<portfolio info =“Photos”>
<image title=“Get yo colors out” source=“images/image01.jpg” url=“images/image01.jpg”/>
<image title=“Xed in Miami” source=“images/image02.jpg” url=“images/image02.jpg”/>
<image title=“Flowin” source=“images/image03.jpg” url=“images/image03.jpg”/>
<image title=“Nasty” source=“images/image04.jpg” url=“images/image04.jpg”/>
<image title=“TIKI” source=“images/image05.jpg” url=“images/image05.jpg”/>
<image title=“Pimpin” source=“images/image05.jpg” url=“images/image06.jpg”/>
</portfolio>