haXe API Documentation
Back | Index
extern class js.html.XPathResult
Available in js
Refer to nsIDOMXPathResult for more detail.

Documentation for this class was provided by MDN.
var booleanValue(default,null) : Bool
readonly boolean Getter throws DOMException.
var invalidIteratorState(default,null) : Bool
readonly boolean
var numberValue(default,null) : Float
readonly float Getter throws DOMException.
var resultType(default,null) : Int
readonly integer (short)
var singleNodeValue(default,null) : Node
readonly Node Getter throws DOMException.
var snapshotLength(default,null) : Int
readonly Integer Getter throws DOMException.
var stringValue(default,null) : String
readonly String Getter throws DOMException.
function iterateNext() : Node
function snapshotItem(index : Int) : Node
static inline var ANY_TYPE : Int
A result set containing whatever type naturally results from evaluation of the expression. Note that if the result is a node-set then UNORDERED_NODE_ITERATOR_TYPE is always the resulting type.
static inline var ANY_UNORDERED_NODE_TYPE : Int
A result node-set containing any single node that matches the expression. The node is not necessarily the first node in the document that matches the expression.
static inline var BOOLEAN_TYPE : Int
A result containing a single boolean value. This is useful for example, in an XPath expression using the not() function.
static inline var FIRST_ORDERED_NODE_TYPE : Int
A result node-set containing the first node in the document that matches the expression.
static inline var NUMBER_TYPE : Int
A result containing a single number. This is useful for example, in an XPath expression using the count() function.
static inline var ORDERED_NODE_ITERATOR_TYPE : Int
A result node-set containing all the nodes matching the expression. The nodes in the result set are in the same order that they appear in the document.
static inline var ORDERED_NODE_SNAPSHOT_TYPE : Int
A result node-set containing snapshots of all the nodes matching the expression. The nodes in the result set are in the same order that they appear in the document.
static inline var STRING_TYPE : Int
A result containing a single string.
static inline var UNORDERED_NODE_ITERATOR_TYPE : Int
A result node-set containing all the nodes matching the expression. The nodes may not necessarily be in the same order that they appear in the document.
static inline var UNORDERED_NODE_SNAPSHOT_TYPE : Int
A result node-set containing snapshots of all the nodes matching the expression. The nodes may not necessarily be in the same order that they appear in the document.
Back | Index