Warning: file_put_contents(): Only -1 of 76 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
DOMImplementation->__construct() DOMImplementation->createDocumentType() DOM PHP Manual DOMImplementation->createDocument() (No version information available, might be only in CVS) DOMImplementat...
Forum und email

DOMImplementation->createDocument()

(No version information available, might be only in CVS)

DOMImplementation->createDocument() — Crée un objet DOM Document du type spécifié avec ses éléments

Description

DOMImplementation
DOMDocument createDocument ([ string $namespaceURI [, string $qualifiedName [, DOMDocumentType $doctype ]]] )

Crée un objet DOMDocument du type spécifié avec ces éléments du document.

Liste de paramètres

namespaceURI

L'URI de l'espace de noms des éléments du document à créer.

qualifiedName

Le nom qualifié des éléments du document à créer.

doctype

Le type de document à créer ou NULL.

Valeurs de retour

Un nouvel objet DOMDocument. Si namespaceURI , qualifiedName , et doctype sont nulles, le DOMDocument retourné est vide avec aucun élément de document.

Erreurs / Exceptions

DOM_WRONG_DOCUMENT_ERR

Lancé si doctype a déjà été utilisé avec un document différent ou a été créé depuis une implémentation différente.

DOM_NAMESPACE_ERR

Lancé s'il y a une erreur dans l'espace de noms, déterminé par namespaceURI et qualifiedName .