evaluate
fun evaluate(contextNode: Node, type: Short = definedExternally, result: XPathResult? = definedExternally): XPathResult(source)
The evaluate()
method of the XPathExpression interface executes an XPath expression on the given node or document and returns an XPathResult.