evaluate method

XPathResult evaluate(
  1. Node contextNode, [
  2. int type,
  3. XPathResult? result
])

The evaluate() method of the XPathExpression interface executes an XPath expression on the given node or document and returns an XPathResult.

Implementation

external XPathResult evaluate(
  Node contextNode, [
  int type,
  XPathResult? result,
]);