XmlParentExtension extension

on

Properties

depth int
Return the depth of this node in its tree, a root node has depth 0.
no setter
document XmlDocument?
Return the document that contains this node, or null if the node is not part of a document.
no setter
parentElement XmlElement?
Return the first parent of this node that is of type XmlElement, or null if there is none.
no setter
root XmlNode
Return the root of the tree in which this node is found, whether that's a document or another element.
no setter