Its arguments must be an int specifying the version
number (10 or 11), a string specifying the encoding (no check is performed on
this parameter) and a bool specifying the standalone property of the document.
Any argument can be skipped, but the specified arguments must respect the stated
ordering (which is also the ordering required by the XML specification).
voidwriteXMLDeclaration(Args args)
structWriter(alias OutRange, alias PrettyPrinter = PrettyPrinters.Minimalizer)
Outputs an XML declaration.
Its arguments must be an int specifying the version number (10 or 11), a string specifying the encoding (no check is performed on this parameter) and a bool specifying the standalone property of the document. Any argument can be skipped, but the specified arguments must respect the stated ordering (which is also the ordering required by the XML specification).