owner_document property

owner_document property

The Document object associated with this node. This is also the Document object used to create new nodes. When this node is a Document or a DocumentType which is not used with any Document yet, this is null.

Definition:

@property
def owner_document(self):
    ...

See Also