XMLWriter->startDocument
(No version information available, might be only in CVS)
XMLWriter->startDocument — Dokument beginnen
Beschreibung
Objektorientiert:
XMLWriter
bool startDocument
([ string $version
[, string $encoding
[, string $standalone
]]] )
Prozedural:
bool xmlwriter_start_document
( resource $xmlwriter
[, string $version
[, string $encoding
[, string $standalone
]]] )
Beginnt ein neues Dokument.
Parameter Liste
- xmlwriter
-
Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
- version
-
Versionsnummer des Dokuments als Teil der XML-Deklaration. Standardmäßig 1.0.
- encoding
-
Kodierung des Dokuments als Teil der XML-Deklaration. Standardmäßig NULL.
- standalone
-
yes oder no. Standardmäßig NULL.
Rückgabewerte
Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.