Web features explorer

XPath

Widely available
Tags: api Groups: XML

The document.evaluate() method selects elements in an HTML or XML document based on an expression of XPath, a domain specific language for querying XML documents. Also known as XML Path Language. To learn more, see Document: evaluate() method, XPathEvaluator, XPathEvaluator: XPathEvaluator() constructor, XPathEvaluator: createExpression() method, XPathEvaluator: evaluate() method, XPathExpression, XPathExpression: evaluate() method, XPathResult, XPathResult: booleanValue property, XPathResult: invalidIteratorState property, XPathResult: iterateNext() method, XPathResult: numberValue property, XPathResult: resultType property, XPathResult: singleNodeValue property, XPathResult: snapshotItem() method, XPathResult: snapshotLength property, XPathResult: stringValue property at MDN.

Compatibility (view on caniuse.com)

Specifications