XMLWriter::startDocument Create document tag &reftitle.description; &style.oop; XMLWriter boolstartDocument stringversion stringencoding stringstandalone &style.procedural; boolxmlwriter_start_document resourcexmlwriter stringversion stringencoding stringstandalone&null; Starts a document. &reftitle.parameters; &xmlwriter.xmlwriter.description; version The version number of the document as part of the XML declaration. Defaults to 1.0. encoding The encoding of the document as part of the XML declaration. &null; by default. standalone yes or no. &reftitle.returnvalues; &return.success; &reftitle.seealso; XMLWriter::endDocument