Writer.writeXMLDeclaration

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).

  1. void writeXMLDeclaration(Args args)
    struct Writer(alias OutRange, alias PrettyPrinter = PrettyPrinters.Minimalizer)
    void
    writeXMLDeclaration
    (
    Args...
    )
    (
    Args args
    )
  2. void writeXMLDeclaration(string version_, string encoding, string standalone)

Meta