DocumentType constructor

init

Initializes a new instance of the DocumentType class.

def __init__(self, name, public_id, system_id, internal_subset, doc):
    ...
ParameterTypeDescription
namestrThe entity name.
public_idstrThe public id.
system_idstrThe system id.
internal_subsetstrThe internal subset.
docDocumentThe document.

See Also