class js.html.XPathEvaluator

Available on js

This interface is used to evaluate XPath expressions against a DOM node.
Inherits from: nsISupports Last changed in Gecko 1.7

Implemented by: @mozilla.org/dom/xpath-evaluator;1. To create an instance, use:

var domXPathEvaluator = Components.classes["@mozilla.org/dom/xpath-evaluator;1"]
                        .createInstance(Components.interfaces.nsIDOMXPathEvaluator);


Documentation for this class was provided by MDN.

Instance Fields

function new():Void

function createNSResolver(nodeResolver:Node):XPathNSResolver

function evaluate(expression:String, contextNode:Node, resolver:XPathNSResolver, type:Int, inResult:XPathResult):XPathResult