evaluate method
evaluate
Evaluates an XPath expression string and returns a result of the specified type if possible.
Returns
The result of the evaluation of the XPath expression.
def evaluate(self, expression, context_node, resolver, type, result):
...
Parameter | Type | Description |
---|---|---|
expression | str | The XPath expression string to be parsed and evaluated. |
context_node | Node | The context is context node for the evaluation of this XPath expression. |
resolver | aspose.svg.dom.xpath.IXPathNSResolver | The resolver permits translation of all prefixes, including the xml namespace prefix, within the XPath expression into appropriate namespace URIs. |
type | aspose.svg.dom.xpath.XPathResultType | If a specific type is specified, then the result will be returned as the corresponding type. |
result | any | The result specifies a specific result object which may be reused and returned by this method. |
See Also
- module
aspose.svg.dom
- class
Document
- class
IXPathResult