startDocument
abstract fun startDocument(version: String? = null, encoding: String? = null, standalone: Boolean? = null)(source)
Start the document. This causes an xml declaration to be generated with the relevant content.
Parameters
version
The XML version
encoding
The encoding of the document
standalone
A statement that the document is standalone (no externally defined entities...)