Evaluate()
XPathNavigator::Evaluate(String) method
Evaluates the specified XPath expression and returns the typed result.
virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(String xpath)
Arguments
Parameter | Type | Description |
---|---|---|
xpath | String | A string representing an XPath expression that can be evaluated. |
Return Value
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
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)
Arguments
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. |
Return Value
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
XPathNavigator::Evaluate(SharedPtr<XPathExpression>) method
Evaluates the XPathExpression and returns the typed result.
virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(SharedPtr<XPathExpression> expr)
Arguments
Parameter | Type | Description |
---|---|---|
expr | SharedPtr<XPathExpression> | An XPathExpression that can be evaluated. |
Return Value
The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
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)
Arguments
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. |
Return Value
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
- Class IXmlNamespaceResolver
- Class XPathExpression
- Class XPathNodeIterator
- Namespace System::Xml::XPath
- Library Aspose.Slides