(no version information, might be only in CVS)
DOMImplementation->createDocument -- Creates a DOM Document object of the specified type with its document elementCreates a DOMDocument object of the specified type with its document element. If namespaceURI, qualifiedName, and doctype are null, the returned DOMDocument is empty with no document element
Throws DOMException if there is an error with the namespace, as determined by namespaceURI and qualifiedName, or if doctype is not valid.
See also DOMImplementation->createDocumentType().