I have this xml document:
<subpages>
<page.subpage>
<title>blah</title>
</page.subpage>
</subpages>
But when I try to loop through each page.subpage
, nothing is returned.
$(xml).find("page.subpage").each(function() {
console.log("found something!");
}
I'm guessing why nothing is returned has something to do with the period? I've tried html escaping it with .
but it didn't seem to work.