-
Notifications
You must be signed in to change notification settings - Fork 65
Elements
sbesl edited this page Nov 13, 2021
·
3 revisions
Every element in the OpenDocument XML format is implemented as a Python class that derives from the Element class. The Element class has the following attributes: nodeType A code representing the type of the node. parentNode The parent of this node or None if it has not yet been added to the tree. childNodes A list of child nodes. firstChild The first child of this element. lastChild The last child of this element. previousSibling The node immediately preceding this node. nextSibling The node immediately following this node.