I'm calling a webpage via ajax. Part of it's response is a small block of XML.
I tried parsing it but jQuery only seems to find some of the nodes. For example:
<aaa>
<text>bbb</text>
<image>test</image>
</aaa>
It finds text just fine but never finds the image node.
But if I change the spelling from "image" to "zimage" it finds it. Is the word "image" reserved when parsing XML through jQuery?
My jQuery code is very simple...
$(data).find("zimage").each(function() {
alert("node found");
});
That code works, but when I use this...
$(data).find("image").each(function() {
alert("node found");
});
It never finds anything.