UNPKG

xpath-ts2

Version:

DOM 3 and 4 XPath 1.0 implementation for browser and Node.js environment with support for typescript 5.

5 lines (4 loc) 330 B
import { NamespaceResolver } from '../xpath-types'; export declare function splitQName(qn: string): [string | null, string]; export declare function resolveQName(qn: string, nr: NamespaceResolver, n: Node, useDefault: boolean): [string | null, string]; export declare function getElementById(n: Node, id: string): Element | null;