XPathResult

package js.html

Available on js

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

staticinlineread onlyANY_TYPE:Int = 0

staticinlineread onlyANY_UNORDERED_NODE_TYPE:Int = 8

staticinlineread onlyBOOLEAN_TYPE:Int = 3

staticinlineread onlyFIRST_ORDERED_NODE_TYPE:Int = 9

staticinlineread onlyNUMBER_TYPE:Int = 1

staticinlineread onlyORDERED_NODE_ITERATOR_TYPE:Int = 5

staticinlineread onlyORDERED_NODE_SNAPSHOT_TYPE:Int = 7

staticinlineread onlySTRING_TYPE:Int = 2

staticinlineread onlyUNORDERED_NODE_ITERATOR_TYPE:Int = 4

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

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/XPathResult.html