
## __init__ {#str-str-str-str-aspose.svg.dom.Document}

Initializes a new instance of the [`DocumentType`](/svg/python-net/aspose.svg.dom/documenttype) class.



```python
def __init__(self, name, public_id, system_id, internal_subset, doc):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | The entity name. |
| public_id | str | The public id. |
| system_id | str | The system id. |
| internal_subset | str | The internal subset. |
| doc | [`Document`](/svg/python-net/aspose.svg.dom/document) | The document. |



### See Also
* module [`aspose.svg.dom`](../../)
* class [`DocumentType`](/svg/python-net/aspose.svg.dom/documenttype)
