haXe API Documentation
Back | Index
extern class js.html.XPathEvaluator
Available in js

dom/interfaces/xpath/nsIDOMXPathEvaluator.idlScriptable

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.

function new() : Void
function createExpression(expression : String, resolver : XPathNSResolver) : XPathExpression
function createNSResolver(nodeResolver : Node) : XPathNSResolver
function evaluate(expression : String, contextNode : Node, resolver : XPathNSResolver, type : Int, inResult : XPathResult) : XPathResult
Back | Index