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 full)
Index
Methods
createExpression
- create
Expression (expression, resolver?): XPathExpression Parameters
- expression: string
Optional
resolver: XPathNSResolver
Returns XPathExpression
createNSResolver
evaluate
- evaluate(expression, contextNode, resolver?, type?, result?): XPathResult
Parameters
- expression: string
- contextNode: Node
Optional
resolver: XPathNSResolverOptional
type: numberOptional
result: XPathResult
Returns XPathResult
MDN Reference