Manual do PHP
Anterior |  | Próxima

# DOMImplementation->createDocumentType()

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

## Descrição

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.

## Lista de parâmetros

qualifiedName

  The qualified name of the document type to create.

publicId

  The external subset public identifier.

systemId

  The external subset system identifier.

## Valores Retornados

A new DOMDocumentType node with its ownerDocument set to `NULL`.

## Exceptions

`DOM_NAMESPACE_ERR`

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

## Veja também

DOMImplementation->createDocument()

Anterior | Principal | Próxima
DOMImplementation->createDocument() | Acima | DOMImplementation->hasFeature()