System::Xml::XmlNode::SelectNodes method

XmlNode::SelectNodes(const String&) method

XPath 式に一致するノードのリストを選択します。

SharedPtr<XmlNodeList> System::Xml::XmlNode::SelectNodes(const String &xpath)
パラメーター説明
xpathconst String&この XPath 式。

ReturnValue

XmlNodeList は、XPath クエリに一致するノードのコレクションを含みます。

参照

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

XPath 式に一致するノードのリストを選択します。 XPath 式で見つかったプレフィックスは、提供された XmlNamespaceManager を使用して解決されます。

SharedPtr<XmlNodeList> System::Xml::XmlNode::SelectNodes(const String &xpath, const SharedPtr<XmlNamespaceManager> &nsmgr)
パラメーター説明
xpathconst String&この XPath 式。
nsmgrconst SharedPtr<XmlNamespaceManager>&XPath 式のプレフィックスの名前空間を解決するために使用する XmlNamespaceManager

ReturnValue

XmlNodeList は、XPath クエリに一致するノードのコレクションを含みます。

参照