XPathResult

js.html.XPathResult (extern class)

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:

Static Members

ANY_TYPE: Int

NUMBER_TYPE: Int

STRING_TYPE: Int

BOOLEAN_TYPE: Int

UNORDERED_NODE_ITERATOR_TYPE: Int

ORDERED_NODE_ITERATOR_TYPE: Int

UNORDERED_NODE_SNAPSHOT_TYPE: Int

ORDERED_NODE_SNAPSHOT_TYPE: Int

ANY_UNORDERED_NODE_TYPE: Int

FIRST_ORDERED_NODE_TYPE: Int

Instance Members

resultType: Int

integer (short)


numberValue: Float

float


stringValue: String

String


booleanValue: Bool

boolean


singleNodeValue: Node

Node


invalidIteratorState: Bool

boolean


snapshotLength: Int

Integer


iterateNext(): Node

...

Returns
Node

snapshotItem(index: Int): Node

...

Name Type
index Int
Returns
Node