Aspose::Words::CompositeNode::SelectSingleNode method
CompositeNode::SelectSingleNode method
Selects the first Node that matches the XPath expression.
System::SharedPtr<Aspose::Words::Node> Aspose::Words::CompositeNode::SelectSingleNode(const System::String &xpath)
Parameter | Type | Description |
---|---|---|
xpath | const System::String& | The XPath expression. |
ReturnValue
The first Node that matches the XPath query or null if no matching node is found.
Remarks
Only expressions with element names are supported at the moment. Expressions that use attribute names are not supported.
See Also
- Class Node
- Class CompositeNode
- Namespace Aspose::Words
- Library Aspose.Words for C++