XPathResult

extern class js.html.XPathResultAvailable in jsRefer to nsIDOMXPathResult for more detail.

Documentation for this class was provided by MDN.
var booleanValue(default,null) : Boolreadonly boolean Getter throws DOMException. var invalidIteratorState(default,null) : Boolreadonly boolean var numberValue(default,null) : Floatreadonly float Getter throws DOMException. var resultType(default,null) : Intreadonly integer (short) var singleNodeValue(default,null) : Nodereadonly Node Getter throws DOMException. var snapshotLength(default,null) : Intreadonly Integer Getter throws DOMException. var stringValue(default,null) : Stringreadonly String Getter throws DOMException. function iterateNext() : Node function snapshotItem( index : Int ) : Node static inline var ANY_TYPE : IntA 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 : IntA 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 : IntA 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 : IntA result node-set containing the first node in the document that matches the expression. static inline var NUMBER_TYPE : IntA 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 : IntA 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 : IntA 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 : IntA result containing a single string. static inline var UNORDERED_NODE_ITERATOR_TYPE : IntA 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 : IntA 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.
version #18380, modified 2013-05-01 11:59:07 by api
0 comment