Need help - xml atributes reading

Ok ,here it goes - got myself an xml file,and it’s populated with about 5-6 child nodes,when one of the contains atributes:
[SIZE=1][COLOR=Sienna]<?xml version=“1.0” encoding=“utf-8” standalone=“yes”?>
<menu spage=“image1.jpg” stitle=“First Page”>
<menuitems>
<item type=“battons”>
<battName>Cyclone Aviation</battName>
<datatext><![CDATA[The explosions took place minutes apart at an open-air auditorium and a popular outdoor restaurant.]]></datatext>
<simage>1.jpg</simage>
<bimage>Image1.jpg</bimage>
<parts>
<image id=“ids1” mainmenuid=“vfvdf” slideid=“sfsd” submenuid=“jkjkkjkj” video=“no” smalpicture=“Image1.jpg” bigpicture=“Image1.jpg” order=“1” />
<image id=“ids2” slideid=“sfsd” submenuid=“fhfhf” mainmenuid=“vfvdf” video=“no” smalpicture=“Image14.jpg” bigpicture=“Image15.jpg” order=“2” />
<image id=“ids3” slideid=“sfsd” submenuid=“fhgfhgy” mainmenuid=“vfvdf” video=“no” smalpicture=“Image15.jpg” bigpicture=“Image15.jpg” order=“3” />
</parts>
</item>[/COLOR][/SIZE]

and a function called to retrive atributes from the <part> childNode :

var rButName = items*.childNodes[4].firstChild;
Then,callin’ function -
[SIZE=1]function parseAttribs(attrib) {
var rightPlane = attrib;
for (var p = 0; p<rightPlane.length; p++) {
var rightBut = rightButs[p];
var attribs = rightBut.childNodes;
for (var s = 0; s<attribs.length; s++) {
var localAtrib = attribs[s];
trace(rightPlane.attributes.id+" and “”+attribs.attributes.smalpicture+""");
}
}
}[/SIZE]
No can get anything,thougthi can see in debugger the first in
the <image>'s nodes.

I tried to follow one of the tutorials,when first of the for’s is getting’ the <image>,while second is triing to get the atributes,right ?
me think,i’m wrong with the .length of the first ‘loop’ (yes,originaly i’m from Lingo camp ,8)))
Need help,‘couse tHe freakin’ xml is driving me nutz…