(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::startDocument -- xmlwriter_start_document — Create document tag
Stile orientato agli oggetti
$version = 1.0
[, string $encoding = NULL
[, string $standalone
]]] )Stile procedurale
$xmlwriter
[, string $version = 1.0
[, string $encoding = NULL
[, string $standalone
]]] )Starts a document.
xmlwriterSolo per chiamate procedurali. La resource XMLWriter che รจ stata modificata. Questa risorsa deriva da una chiamata a xmlwriter_open_uri() or xmlwriter_open_memory().
version
The version number of the document as part of the XML declaration.
encoding
The encoding of the document as part of the XML declaration.
standalone
yes or no.
Restituisce TRUE in caso di successo, FALSE in caso di fallimento.