Cross-browser JavaRosa/OpenRosa-extended XPath 1.0 implementation in JavaScript.