System::Xml::XmlNode::SelectNodes method

XmlNode::SelectNodes(const String&) method

Selects a list of nodes matching the XPath expression.

SharedPtr<XmlNodeList> System::Xml::XmlNode::SelectNodes(const String &xpath)
ParameterTypeDescription
xpathconst String&The XPath expression.

ReturnValue

An XmlNodeList containing a collection of nodes matching the XPath query.

See Also

XmlNode::SelectNodes(const String&, const SharedPtr<XmlNamespaceManager>&) method

Selects a list of nodes matching the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied XmlNamespaceManager.

SharedPtr<XmlNodeList> System::Xml::XmlNode::SelectNodes(const String &xpath, const SharedPtr<XmlNamespaceManager> &nsmgr)
ParameterTypeDescription
xpathconst String&The XPath expression.
nsmgrconst SharedPtr<XmlNamespaceManager>&An XmlNamespaceManager to use for resolving namespaces for prefixes in the XPath expression.

ReturnValue

An XmlNodeList containing a collection of nodes matching the XPath query.

See Also