create_document_type method

create_document_type

The method returns a DocumentType object which can either be used with IDOMImplementation.create_document upon document creation or can be put into the document via methods like Node.insert_before or Node.replace_child.

Returns

The DocumentType.

def create_document_type(self, name, public_id, system_id, internal_subset):
    ...
ParameterTypeDescription
namestrIs a containing the qualified name, like .
public_idstrIs a containing the identifier.
system_idstrIs a containing the identifier.
internal_subsetstrThe internal subset.

See Also