startDocument

open override fun startDocument(version: String?, encoding: String?, standalone: Boolean?)(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...)