
## __init__ {#str-str-str-str-aspose.html.dom.Document}

Initializes a new instance of the [`DocumentType`](/html/python-net/aspose.html.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`](/html/python-net/aspose.html.dom/document) | The document. |



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