Interface XPathEvaluatorBase
interface XPathEvaluatorBase {
createExpression(
expression: string,
resolver?: XPathNSResolver,
): XPathExpression;
createNSResolver(nodeResolver: Node): Node;
evaluate(
expression: string,
contextNode: Node,
resolver?: XPathNSResolver,
type?: number,
result?: XPathResult,
): XPathResult;
}
createExpression(
expression: string,
resolver?: XPathNSResolver,
): XPathExpression;
createNSResolver(nodeResolver: Node): Node;
evaluate(
expression: string,
contextNode: Node,
resolver?: XPathNSResolver,
type?: number,
result?: XPathResult,
): XPathResult;
}
Hierarchy
- XPathEvaluatorBase (View Summary)
Index
Methods
createExpression
- createExpression(
expression: string,
resolver?: XPathNSResolver,
): XPathExpression Parameters
- expression: string
Optional
resolver: XPathNSResolver
Returns XPathExpression
createNSResolver
evaluate
- evaluate(
expression: string,
contextNode: Node,
resolver?: XPathNSResolver,
type?: number,
result?: XPathResult,
): XPathResult Parameters
- expression: string
- contextNode: Node
Optional
resolver: XPathNSResolverOptional
type: numberOptional
result: XPathResult
Returns XPathResult
MDN Reference