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):
...
Parameter | Type | Description |
---|---|---|
name | str | Is a containing the qualified name, like . |
public_id | str | Is a containing the identifier. |
system_id | str | Is a containing the identifier. |
internal_subset | str | The internal subset. |
See Also
- module
aspose.html
- class
DocumentType
- class
HTMLDocument