http://help.dottoro.com/ljqlhagh.php
에서 참조
Syntax:
Parameters:
namespaceURI Required. String that specifies the namespace URI for the documentElement (root node). qualifiedName Required. String that specifies the name of the documentElement (root node). If an empty string is specified, the new XML document will have no root node. docTypeObj Required. Reference to a doctype object that specifies the document type of the XML document. Use the createDocumentType method to create a doctype object. Set to null if no document type is needed.