Nested loop problem

Hi there, i´m having problems with a nested loop. i found some post here, but they didn´t help me. i need to extract the individual values from a nested xml node. i simplyfied the xml.
this is the code:

<base>
[INDENT]<jobs>
[INDENT]<prints>
[COLOR=Red]<print>1.jpg</print>[/COLOR]
[COLOR=Red]<print>2.jpg</print>[/COLOR]
[COLOR=Red]<print>3.jpg</print>[/COLOR]
</prints>
[/INDENT]</jobs>
[/INDENT][INDENT]<jobs>
[/INDENT][INDENT][INDENT]<prints>
[COLOR=Red]<print>1.jpg</print>[/COLOR]
[COLOR=Red]<print>2.jpg</print>[/COLOR]
[COLOR=Red]<print>3.jpg</print>[/COLOR]
</prints>
[/INDENT] </jobs>
[/INDENT]…etc

I need the prints node, but a i need to acess this one by one. by now i only got an entire array.

this is my as:
xml_prints.onLoad = function(ok) {
if (ok) {
var prints = xml_prints.firstChild.childNodes;
for (var p = 0; p<prints.length; p++) {
var print = prints[p];
var jobs = print.firstChild.childNodes;
for (var s = 0; s<jobs.length; s++) {
var job = jobs[s];
}
}
}
};

the var job contain all the elements, but a i didn´t figure how to take this one by one like job[0], job[2]

thanks for the help