System::Xml::XPath::XPathExpression::Compile method
Contents
[
Hide
]XPathExpression::Compile(const String&) method
Compiles the XPath expression specified and returns an XPathExpression object representing the XPath expression.
static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath)
Parameter | Type | Description |
---|---|---|
xpath | const String& | An XPath expression. |
ReturnValue
An XPathExpression object.
See Also
- Typedef SharedPtr
- Class XPathExpression
- Class String
- Class XPathExpression
- Namespace System::Xml::XPath
- Library Aspose.PDF for C++
XPathExpression::Compile(const String&, const SharedPtr<IXmlNamespaceResolver>&) method
Compiles the specified XPath expression, with the IXmlNamespaceResolver object specified for namespace resolution, and returns an XPathExpression object that represents the XPath expression.
static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath, const SharedPtr<IXmlNamespaceResolver> &nsResolver)
Parameter | Type | Description |
---|---|---|
xpath | const String& | An XPath expression. |
nsResolver | const SharedPtr<IXmlNamespaceResolver>& | An object that implements the IXmlNamespaceResolver interface for namespace resolution. |
ReturnValue
An XPathExpression object.
See Also
- Typedef SharedPtr
- Class XPathExpression
- Class String
- Class IXmlNamespaceResolver
- Class XPathExpression
- Namespace System::Xml::XPath
- Library Aspose.PDF for C++