I\'m trying to select a specific HTML element in a document, for firefox i just use:
xpathobj = document.evaluate(xpath, document, null, XPath
Another JavaScript implementation of W3C Dom Level 3 XPath can be found on Source Forge. But does not appear to be active.