evaluate method
XPathResult
evaluate(
- String expression,
- Node contextNode, [
- XPathNSResolver? resolver,
- int type,
- XPathResult? result,
The evaluate()
method of the Document interface selects elements
based on the XPath
expression given in parameters.
XPath expressions can be evaluated on both HTML and XML documents.
Implementation
external XPathResult evaluate(
String expression,
Node contextNode, [
XPathNSResolver? resolver,
int type,
XPathResult? result,
]);