class js.html.XPathResult
Available on js
Refer to nsIDOMXPathResult
for more detail.
Documentation for this class was provided by MDN.
Class Fields
A result set containing whatever type naturally results from evaluation of the expression. Note that if the result is a node-set then UNORDEREDNODEITERATOR_TYPE is always the resulting type.
static 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 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 var FIRST_ORDERED_NODE_TYPE:Int
A result node-set containing the first node in the document that matches the expression.
static var NUMBER_TYPE:Int
A result containing a single number. This is useful for example, in an XPath expression using the count()
function.
static 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 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 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 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.