
## IXPathEvaluator class

The evaluation of XPath expressions is provided by [`IXPathEvaluator`](/html/python-net/aspose.html.dom.xpath/ixpathevaluator).



The IXPathEvaluator type exposes the following members:

### Methods
| Method | Description |
| :- | :- |
| [create_expression](/html/python-net/aspose.html.dom.xpath/ixpathevaluator/create_expression/#str-aspose.html.dom.xpath.IXPathNSResolver) | Creates a parsed XPath expression with resolved namespaces. This is useful <br/>when an expression will be reused in an application since it makes it possible <br/>to compile the expression string into a more efficient internal form and <br/>preresolve all namespace prefixes which occur within the expression. |
| [create_ns_resolver](/html/python-net/aspose.html.dom.xpath/ixpathevaluator/create_ns_resolver/#aspose.html.dom.Node) | Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated<br/>relative to the context of the node where it appeared within the document. This adapter works<br/>like the DOM Level 3 method `lookupNamespaceURI` on nodes in resolving the namespaceURI<br/>from a given prefix using the current information available in the node's hierarchy at the time<br/>lookupNamespaceURI is called, also correctly resolving the implicit xml prefix. |
| [evaluate](/html/python-net/aspose.html.dom.xpath/ixpathevaluator/evaluate/#str-aspose.html.dom.Node-aspose.html.dom.xpath.IXPathNSResolver-aspose.html.dom.xpath.XPathResultType-any) | Evaluates an XPath expression string and returns a result of the specified type if possible. |



### See Also
* module [`aspose.html.dom.xpath`](..)
* class [`IXPathEvaluator`](/html/python-net/aspose.html.dom.xpath/ixpathevaluator)
