Document.Evaluate
Document.Evaluate method
Evaluates an XPath expression String and returns a result of the specified type if possible.
public IXPathResult Evaluate(String expression, Node contextNode, IXPathNSResolver resolver,
XPathResultType type, object result)
Parameter | Type | Description |
---|---|---|
expression | String | The XPath expression String to be parsed and evaluated. |
contextNode | Node | The context is context node for the evaluation of this XPath expression. |
resolver | IXPathNSResolver | The resolver permits translation of all prefixes, including the xml package prefix, within the XPath expression into appropriate package URIs. |
type | XPathResultType | If a specific type is specified, then the result will be returned as the corresponding type. |
result | Object | The result specifies a specific result object which may be reused and returned by this method. |
Return Value
The result of the evaluation of the XPath expression.
See Also
- interface IXPathResult
- class Node
- interface IXPathNSResolver
- enum XPathResultType
- class Document
- package com.aspose.html.Dom
- package Aspose.HTML