Compile()
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)
Arguments
Parameter | Type | Description |
---|---|---|
xpath | const String& | An XPath expression. |
Return Value
An XPathExpression object.
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)
Arguments
Parameter | Type | Description |
---|---|---|
xpath | const String& | An XPath expression. |
nsResolver | const SharedPtr<IXmlNamespaceResolver>& | An object that implements the IXmlNamespaceResolver interface for namespace resolution. |
Return Value
An XPathExpression object.
See Also
- Typedef SharedPtr
- Class XPathExpression
- Class String
- Class IXmlNamespaceResolver
- Namespace System::Xml::XPath
- Library Aspose.Slides