XMLWriter
PHP Manual

XMLWriter::startDocument

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

XMLWriter::startDocumentCrée un document

Description

Style orienté objet :

XMLWriter
bool startDocument ([ string $version [, string $encoding [, string $standalone ]]] )

Style procédural :

bool xmlwriter_start_document ( resource $xmlwriter [, string $version [, string $encoding [, string $standalone ]]] )

Commence un document.

Liste de paramètres

xmlwriter

Uniquement pour les appels procéduraux. La ressource XMLWriter qui a été modifiée. Cette ressource provient d'un appel à xmlwriter_open_uri() ou xmlwriter_open_memory().

version

Le numéro de version du document dans la déclaration XML. Par défaut, ce paramètre vaut 1.0.

encoding

L'encodage du document dans la déclaration XML. NULL par défaut.

standalone

yes ou no. NULL par défaut.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.

Voir aussi


XMLWriter
PHP Manual