
## create_document_type {#str-str-str-str}

The method returns a [`DocumentType`](/svg/python-net/aspose.svg.dom/documenttype) object which can either be used 
with [`IDOMImplementation.create_document`](/svg/python-net/aspose.svg.dom/idomimplementation/create_document) upon document creation or can be put into the document via methods 
like [`Node.insert_before`](/svg/python-net/aspose.svg.dom/node/insert_before) or [`Node.replace_child`](/svg/python-net/aspose.svg.dom/node/replace_child).


### Returns 


The [`DocumentType`](/svg/python-net/aspose.svg.dom/documenttype).


```python
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.svg.dom`](../../)
* class [`Document`](/svg/python-net/aspose.svg.dom/document)
* class [`DocumentType`](/svg/python-net/aspose.svg.dom/documenttype)
