XPathEvaluator
interface allows to compile and evaluate XPath expressions.Document
interface.Creates a parsed XPath expression with resolved namespaces.
string
. A string
representing representing the XPath expression to be created.XPathNSResolver
. Permits translation of all prefixes, including the xml
namespace prefix, within the XPath expression into appropriate namespace URIs.XPathExpression
Evaluates an XPath expression string and returns a result of the specified type if possible.
string
. A string
representing the XPath expression to be parsed and evaluated.Node
. A Node
representing the context to use for evaluating the expression.XPathNSResolver
. Permits translation of all prefixes, including the xml
namespace prefix, within the XPath expression into appropriate namespace URIs.number
. Specifies the type of result to be returned by evaluating the expression. This must be one of the XPathResult.Constants
.XPathResult
. Allows to specify a result object which may be reused and returned by this method. If this is specified as null
or the implementation does not reuse the specified result, a new result object will be returned.XPathResult
createNSResolver() |