public createDocument(namespaceURI as String, qualifiedName as String, doctype as DocumentType) as Document throws DOMException
Creates a document with an optional document type and root element.
| Parameter | Description |
|---|---|
namespaceURI | Root namespace URI. |
qualifiedName | Root qualified name. |
doctype | Optional document type. |
New document.
document = implementation.createDocument(null, "root", null)