DOMImplementation::createDocumentCreates a DOMDocument object of the specified type with its document element Description
public DOMDocument DOMImplementation::createDocument(stringnull
$namespace = null, string $qualifiedName = "", DOMDocumentTypenull $doctype = null)Creates a DOMDocument object of the specified type with its document element. Parameters
Return Values
A new DOMDocument object. If
Errors/ExceptionsMay throw a DOMException with the following error codes:
Changelog
See Also
|