(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::startDocument — Create document tag
Estilo orientado a objetos
Estilo de procedimentos
Starts a document.
Apenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().
The version number of the document as part of the XML declaration. Defaults to 1.0.
The encoding of the document as part of the XML declaration. NULL by default.
yes or no.
Retorna TRUE em caso de sucesso ou FALSE em falhas.