DOMImplementation->createDocumentType()

DOMImplementation->createDocumentType() --  Creates an empty DOMDocumentType object

Popis

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.

Parametre

qualifiedName

The qualified name of the document type to create.

publicId

The external subset public identifier.

systemId

The external subset system identifier.

Vrátené hodnoty

A new DOMDocumentType node with its ownerDocument set to NULL.

Výnimky

DOM_NAMESPACE_ERR

Raised if there is an error with the namespace, as determined by qualifiedName.

Tiež pozri

DOMImplementation->createDocument()