System::Xml::XPath::XPathNavigator::SelectAncestors method
Contents
[
Hide
]XPathNavigator::SelectAncestors(String, String, bool) method
Selects all the ancestor nodes of the current node that have the specified local name and namespace URI.
virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectAncestors(String name, String namespaceURI, bool matchSelf)
Parameter | Type | Description |
---|---|---|
name | String | The local name of the ancestor nodes. |
namespaceURI | String | The namespace URI of the ancestor nodes. |
matchSelf | bool | To include the context node in the selection, true; otherwise, false. |
ReturnValue
An XPathNodeIterator that contains the selected nodes. The returned nodes are in reverse document order.
See Also
- Typedef SharedPtr
- Class XPathNodeIterator
- Class String
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Page for C++
XPathNavigator::SelectAncestors(XPathNodeType, bool) method
Selects all the ancestor nodes of the current node that have a matching XPathNodeType.
virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectAncestors(XPathNodeType type, bool matchSelf)
Parameter | Type | Description |
---|---|---|
type | XPathNodeType | The XPathNodeType of the ancestor nodes. |
matchSelf | bool | To include the context node in the selection, true; otherwise, false. |
ReturnValue
An XPathNodeIterator that contains the selected nodes. The returned nodes are in reverse document order.
See Also
- Typedef SharedPtr
- Class XPathNodeIterator
- Enum XPathNodeType
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Page for C++