
## create_document {#str-str-aspose.html.dom.DocumentType}

Creates a DOM Document object of the specified type with its document element.


### Returns 


Returns document.


```python
def create_document(self, namespace_uri, qualified_name, doctype):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| namespace_uri | str | The namespace URI. |
| qualified_name | str | Name of the qualified. |
| doctype | [`DocumentType`](/html/python-net/aspose.html.dom/documenttype) | The doctype. |



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