## CompositeNode::SelectNodes method


Selects a list of nodes matching the XPath expression.

```cpp
System::SharedPtr<Aspose::Words::NodeList> Aspose::Words::CompositeNode::SelectNodes(const System::String &xpath)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xpath | const System::String\& | The XPath expression. |

### ReturnValue

A list of nodes matching the XPath query.
## Remarks


Only expressions with element names are supported at the moment. Expressions that use attribute names are not supported.

## See Also

* Class [NodeList](../../nodelist/)
* Class [CompositeNode](../)
* Namespace [Aspose::Words](../../)
* Library [Aspose.Words for C++](../../../)
