(no version information, might be only in CVS)
DOMImplementation->createDocument() -- Creates a DOMDocument object of the specified type with its document elementCreates a DOMDocument object of the specified type with its document element.
namespaceURIThe namespace URI of the document element to create.
qualifiedNameThe qualified name of the document element to create.
doctypeThe type of document to create or NULL.
A new DOMDocument object. If
namespaceURI, qualifiedName,
and doctype are null, the returned
DOMDocument is empty with no document element