PHP Manual: DOMImplementation->createDocumentType()
DOMImplementation->createDocumentType()
(no version information, might be only in CVS)
DOMImplementation->createDocumentType() -- Creates an empty DOMDocumentType objectDescription
class DOMImplementation {DOMDocumentType createDocumentType ( [string qualifiedName [, string publicId [, string systemId]]] )
}
Creates an empty DOMDocumentType object. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur.
Parameters
qualifiedNameThe qualified name of the document type to create.
publicIdThe external subset public identifier.
systemIdThe external subset system identifier.
Examples
Errors/Exceptions
- DOM_NAMESPACE_ERR
Raised if there is an error with the namespace, as determined by
qualifiedName.