Interface XPathExpression
interface XPathExpression {
evaluate(contextNode: Node, type?: number, result?: XPathResult): XPathResult;
}
evaluate(contextNode: Node, type?: number, result?: XPathResult): XPathResult;
}
Index
Methods
Methods
evaluate
- evaluate(contextNode, type?, result?): XPathResult
Parameters
- contextNode: Node
Optional
type: numberOptional
result: XPathResult
Returns XPathResult
This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree.
MDN Reference