XPathEvaluator

The XPathEvaluator interface allows to compile and evaluate XPath expressions.

MDN Reference

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun createExpression(expression: String, resolver: XPathNSResolver? = definedExternally): XPathExpression
Link copied to clipboard
open fun evaluate(    expression: String,     contextNode: Node,     resolver: XPathNSResolver? = definedExternally,     type: Short = definedExternally,     result: XPathResult? = definedExternally): XPathResult