System::Xml::XmlNode::SelectSingleNode 메서드
내용물
[
숨다
]XmlNode::SelectSingleNode(const String&) method
첫 번째 XmlNode이 XPath 식과 일치하도록 선택합니다.
SharedPtr<XmlNode> System::Xml::XmlNode::SelectSingleNode(const String &xpath)
| 매개변수 | 형식 | 설명 |
|---|---|---|
| xpath | const String& | 그 XPath 식. |
ReturnValue
일치하는 노드가 없을 경우 nullptr를 반환하는, XPath 쿼리와 일치하는 첫 번째 XmlNode입니다.
또 보기
- Typedef SharedPtr
- Class XmlNode
- Class String
- Class XmlNode
- Namespace System::Xml
- Library Aspose.Page for C++
XmlNode::SelectSingleNode(const String&, const SharedPtr<XmlNamespaceManager>&) method
첫 번째 XmlNode이 XPath 식과 일치하도록 선택합니다. XPath 식에서 발견된 모든 접두사는 제공된 XmlNamespaceManager를 사용하여 해결됩니다.
SharedPtr<XmlNode> System::Xml::XmlNode::SelectSingleNode(const String &xpath, const SharedPtr<XmlNamespaceManager> &nsmgr)
| 매개변수 | 형식 | 설명 |
|---|---|---|
| xpath | const String& | 그 XPath 식. |
| nsmgr | const SharedPtr<XmlNamespaceManager>& | XPath 식에서 접두사의 네임스페이스를 해결하는 데 사용할 XmlNamespaceManager입니다. |
ReturnValue
일치하는 노드가 없을 경우 nullptr를 반환하는, XPath 쿼리와 일치하는 첫 번째 XmlNode입니다.
또 보기
- Typedef SharedPtr
- Class XmlNode
- Class String
- Class XmlNamespaceManager
- Class XmlNode
- Namespace System::Xml
- Library Aspose.Page for C++