XPathEvaluator

package js.html

Available on js

Constructor

new()

Throws:

null

DOMError

Methods

createExpression(expression:String, ?resolver:String ‑> Null<String>):XPathExpression

createExpression(expression:String, ?resolver:Function):XPathExpression

createExpression(expression:String, ?resolver:Null<XPathNSResolver>):XPathExpression

Throws:

null

DOMError

createNSResolver(nodeResolver:Node):Node

evaluate(expression:String, contextNode:Node, ?resolver:String ‑> Null<String>, type:Int = 0, ?result:Dynamic):XPathResult

evaluate(expression:String, contextNode:Node, ?resolver:Function, type:Int = 0, ?result:Dynamic):XPathResult

evaluate(expression:String, contextNode:Node, ?resolver:Null<XPathNSResolver>, type:Int = 0, ?result:Dynamic):XPathResult

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/XPathEvaluator.html