Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

XPathResult

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

interface XPathResult {
readonly ANY_TYPE: number;
readonly ANY_UNORDERED_NODE_TYPE: number;
readonly BOOLEAN_TYPE: number;
readonly booleanValue: boolean;
readonly FIRST_ORDERED_NODE_TYPE: number;
readonly invalidIteratorState: boolean;
readonly NUMBER_TYPE: number;
readonly numberValue: number;
readonly ORDERED_NODE_ITERATOR_TYPE: number;
readonly ORDERED_NODE_SNAPSHOT_TYPE: number;
readonly resultType: number;
readonly singleNodeValue: Node | null;
readonly snapshotLength: number;
readonly STRING_TYPE: number;
readonly stringValue: string;
readonly UNORDERED_NODE_ITERATOR_TYPE: number;
readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;
iterateNext(): Node | null;
snapshotItem(index: number): Node | null;
}
var XPathResult: {
prototype: XPathResult;
readonly ANY_TYPE: number;
readonly ANY_UNORDERED_NODE_TYPE: number;
readonly BOOLEAN_TYPE: number;
readonly FIRST_ORDERED_NODE_TYPE: number;
readonly NUMBER_TYPE: number;
readonly ORDERED_NODE_ITERATOR_TYPE: number;
readonly ORDERED_NODE_SNAPSHOT_TYPE: number;
readonly STRING_TYPE: number;
readonly UNORDERED_NODE_ITERATOR_TYPE: number;
readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;
new (): XPathResult;
}
;

§Properties

§
readonly ANY_TYPE: number
[src]
§
readonly ANY_UNORDERED_NODE_TYPE: number
[src]
§
readonly BOOLEAN_TYPE: number
[src]
§
readonly booleanValue: boolean
[src]
§
readonly FIRST_ORDERED_NODE_TYPE: number
[src]
§
readonly invalidIteratorState: boolean
[src]
§
readonly NUMBER_TYPE: number
[src]
§
readonly numberValue: number
[src]
§
readonly ORDERED_NODE_ITERATOR_TYPE: number
[src]
§
readonly ORDERED_NODE_SNAPSHOT_TYPE: number
[src]
§
readonly resultType: number
[src]
§
readonly singleNodeValue: Node | null
[src]
§
readonly snapshotLength: number
[src]
§
readonly STRING_TYPE: number
[src]
§
readonly stringValue: string
[src]
§
readonly UNORDERED_NODE_ITERATOR_TYPE: number
[src]
§
readonly UNORDERED_NODE_SNAPSHOT_TYPE: number
[src]

§Methods

§
iterateNext(): Node | null
[src]
§
snapshotItem(index: number): Node | null
[src]