Example usage for Java org.w3c.dom.xpath XPathEvaluator fields, constructors, methods, implement or subclass
The text is from its open source code.
XPathNSResolver | createNSResolver(Node nodeResolver) Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document. |
Object | evaluate(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) Evaluates an XPath expression string and returns a result of the specified type if possible. |