PyDocs

Nav

Structured Markup Processing Tools

Node.parentNode

xml.dom

attribute of Node
The parent of the current node, or None for the document node. The value is always a Node object or None. For Element nodes, this will be the parent element, except for the root element, in which case it will be the Document object. For Attr nodes, this is always None. This is a read-only attribute.
0 Examples
No examples for xml.dom/Node.parentNode.
See Also
No see-alsos for xml.dom/Node.parentNode
0 Notes
No notes for Node.parentNode