Bear Bibeault wrote:jQuery used to support XPath but no longer does.
I've had no problem using normal jQuery selectors when dealing with an XML DOM.
g tsuji wrote:Like this.
ps But I do not endorse any mis-use of document.write().>
Sum: 030.0029.9949.9939.95
Paul Clapham wrote:So if I understand the sequence of events correctly, when you used XPathResult.ANY_TYPE then your Javascript code ran correctly and produced the output you expected, but when you used XPathResult.NUMBER_TYPE then you got a message saying "'XPathResult' is undefined"?
Message: 'XPathResult' is undefined