System::Xml::XPath::XPathNavigator::Evaluate method
XPathNavigator::Evaluate(SharedPtr<XPathExpression>) method
Evaluates the XPathExpression and returns the typed result.
virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(SharedPtr<XPathExpression> expr)
Parameter | Type | Description |
---|---|---|
expr | SharedPtr<XPathExpression> | An XPathExpression that can be evaluated. |
ReturnValue
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
See Also
- Typedef SharedPtr
- Class Object
- Class XPathExpression
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.PDF for C++
XPathNavigator::Evaluate(SharedPtr<XPathExpression>, SharedPtr<XPathNodeIterator>) method
Uses the supplied context to evaluate the XPathExpression, and returns the typed result.
virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(SharedPtr<XPathExpression> expr, SharedPtr<XPathNodeIterator> context)
Parameter | Type | Description |
---|---|---|
expr | SharedPtr<XPathExpression> | An XPathExpression that can be evaluated. |
context | SharedPtr<XPathNodeIterator> | An XPathNodeIterator that points to the selected node set that the evaluation is to be performed on. |
ReturnValue
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
See Also
- Typedef SharedPtr
- Class Object
- Class XPathExpression
- Class XPathNodeIterator
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.PDF for C++
XPathNavigator::Evaluate(String) method
Evaluates the specified XPath expression and returns the typed result.
virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(String xpath)
Parameter | Type | Description |
---|---|---|
xpath | String | A string representing an XPath expression that can be evaluated. |
ReturnValue
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
See Also
- Typedef SharedPtr
- Class Object
- Class String
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.PDF for C++
XPathNavigator::Evaluate(String, SharedPtr<IXmlNamespaceResolver>) method
Evaluates the specified XPath expression and returns the typed result, using the IXmlNamespaceResolver object specified to resolve namespace prefixes in the XPath expression.
virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(String xpath, SharedPtr<IXmlNamespaceResolver> resolver)
Parameter | Type | Description |
---|---|---|
xpath | String | A string representing an XPath expression that can be evaluated. |
resolver | SharedPtr<IXmlNamespaceResolver> | The IXmlNamespaceResolver object used to resolve namespace prefixes in the XPath expression. |
ReturnValue
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
See Also
- Typedef SharedPtr
- Class Object
- Class String
- Class IXmlNamespaceResolver
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.PDF for C++