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

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

Properties

ANY_TYPE: number
ANY_UNORDERED_NODE_TYPE: number
BOOLEAN_TYPE: number
FIRST_ORDERED_NODE_TYPE: number
NUMBER_TYPE: number
ORDERED_NODE_ITERATOR_TYPE: number
ORDERED_NODE_SNAPSHOT_TYPE: number
STRING_TYPE: number
UNORDERED_NODE_ITERATOR_TYPE: number
UNORDERED_NODE_SNAPSHOT_TYPE: number
booleanValue: boolean
invalidIteratorState: boolean
numberValue: number
resultType: number
singleNodeValue: Node
snapshotLength: number
stringValue: string

Methods

  • Returns Node

  • Parameters

    • index: number

    Returns Node

Generated using TypeDoc