Xml question

How can I refer to specific nodes of XML by their names rather than their “child” reference? ie:

gallery[""+i].slug.loadMovie(theGallery+myXML.firstChild.([COLOR=DarkOrange]A SPECIFICALLY NAMED NODE[/COLOR]).childNodes*.attributes.imageName+".jpg");

in other words i want to find nodes based on what they are called <surfPictures></surfPictures>? Anyone know what i’m ramblin on about?

Thanks!