Sam - why not
$("#container").get("images.php", function(theXML){
$('image',theXML).each(
function(i){
here we have the loop, with i the index if needed and "this" each image
}
);
If you refer to the tutorial, jQuery gives you constructs like
$(this).find("...").attr("..");
rather than accessing the xhr.responseXML at all