FIREFOX:XPath doesnt find nodes with capital letters... why?
Posted: Mon Jan 22, 2007 6:13 pm
Why the hell in the world does XPath not find nodes that have a capital letter in them. This is really bothering me and how do I enable this propaganda? I mean, its really bugging me, i finished this app and I used dummy data which had no capitals - then we got real data and it does NOT work. What IS GOING ON?! PLEASE HELP ME?!
This is how i get my XML
var parser = new DOMParser();
var domDoc = parser.parseFromString(this.getResponseText(), "text/xml");
This is how I perform an XPATH operation:
nodes = document.evaluate(expression, data, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE, null);
expression: /bf/SME
returns 0 results... im going to rott to death if this doesnt come through...
but it works fine if I do /bf
?!@!@!@
This is how i get my XML
var parser = new DOMParser();
var domDoc = parser.parseFromString(this.getResponseText(), "text/xml");
This is how I perform an XPATH operation:
nodes = document.evaluate(expression, data, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE, null);
expression: /bf/SME
returns 0 results... im going to rott to death if this doesnt come through...
but it works fine if I do /bf
?!@!@!@