How would you address this xml attribute?

Well, I’ve tried everything I can think of, but I have next to no experience with xml. In this xml doc, how would you address the image source attribute? This is an attempt to add formattable CDATA text to the gallery info of Scotty’s image gallery, multiple gallery version. I did so by changing <gallery info =…> to<gallery><info>, and now need to be able to address the image info attribute on its own. I did this by adding another set of chidNodes <photos> to parent the image attributes. My problem is addressing the image attributes, I can’t figure out the path or something. I’ll post the whole script in case the error is else where.

The xml:

<?xml version="1.0" encoding="utf-8"?>
<portfolio>
    <gallery>
         <info>Some text</info>
        <photos>
            <image source="basses/1983pollmann/image1.jpg"/>
            <image source="basses/1983pollmann/image2.jpg"/>
            <image source="basses/1983pollmann/image3.jpg"/>
        </photos>
    </gallery>
        <gallery>
        <info>more text</info>
        <photos>
                   <image source="basses/sb80/image1.jpg"/>
                       <image source="basses/sb80/image2.jpg"/>
                       <image source="basses/sb80/image3.jpg"/>
                       <image source="basses/sb80/image4.jpg"/>
        </photos>
        </gallery>
</portfolio>

And the AS in mx2004 pro:

function galleryChoice(a) {
    cur = 0;
    pArray = new Array();
tArray = new Array();
    var gallery_xml = new XML();
    gallery_xml.ignoreWhite = true;
    gallery_xml.onLoad = function(success) {
        if (success) {
            var gallery = this.firstChild.childNodes[a];
            gallery_txt.text = gallery.firstChild.firstChild;
            for (var i = 0; i<gallery.childNodes.length; i++) {
                **pArray.push(gallery.firstChild.photos.childNodes*.attributes.source);**                
            }
            //loading first picture
            id=setInterval(containerMC,"loadPic",100,0);
        } else {
            title_txt.text = "Error!";
        }
    };
    gallery_xml.load("bass_gallery.xml");
}

The part in bold is where I believe the trouble lies. Can anyone see why this won’t work? The xml tree displays fine in a browser.
Thanks in advance!