The XPathResult interface represents the results generated by evaluating an XPath 1.0 expression within the context of a given node.

Documentation XPathResult by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

@:value(0)staticinlineread onlyANY_TYPE:Int = 0

@:value(8)staticinlineread onlyANY_UNORDERED_NODE_TYPE:Int = 8

@:value(3)staticinlineread onlyBOOLEAN_TYPE:Int = 3

@:value(9)staticinlineread onlyFIRST_ORDERED_NODE_TYPE:Int = 9

@:value(1)staticinlineread onlyNUMBER_TYPE:Int = 1

@:value(5)staticinlineread onlyORDERED_NODE_ITERATOR_TYPE:Int = 5

@:value(7)staticinlineread onlyORDERED_NODE_SNAPSHOT_TYPE:Int = 7

@:value(2)staticinlineread onlySTRING_TYPE:Int = 2

@:value(4)staticinlineread onlyUNORDERED_NODE_ITERATOR_TYPE:Int = 4

@:value(6)staticinlineread onlyUNORDERED_NODE_SNAPSHOT_TYPE:Int = 6

Variables

read onlybooleanValue:Bool

boolean

read onlyinvalidIteratorState:Bool

boolean

read onlynumberValue:Float

float

read onlyresultType:Int

integer (short)

read onlysingleNodeValue:Node

Node

read onlysnapshotLength:Int

Integer

read onlystringValue:String

String

Methods

iterateNext():Node

...

Throws:

null

DOMError

snapshotItem(index:Int):Node

...

Throws:

null

DOMError