XPathExpression
interface XPathExpression {
evaluate(
contextNode: Node,
type?: number,
result?: null | XPathResult,
): XPathResult;
}
evaluate(
contextNode: Node,
type?: number,
result?: null | XPathResult,
): XPathResult;
}
Index
Methods
Methods
evaluate
evaluate(
contextNode: Node,
type?: number,
result?: null | XPathResult,
): XPathResult
Parameters
contextNode: Node
Optional
type: numberOptional
result: null | 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