Firefox compatible xPath functions in JavaScript
There are a lot of quirks between different browsers, in particular though are the differences in the way each browser handles the DOM in JavaScript.
Internet Explorer, for the most part, implements MSXml 4.0 or higher. However that’s (obviously) a Microsoft technology, and the standard implementation doesn’t support XPath in the DOM.
In particular the selectNodes() and selectSingleNode() functions are of particular use when manipulating XML or the DOM. Using these functions you can parse an XPath expression and get a nodelist of elements in your DOM that match the expression.



