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;
};