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

Prototype

void writeXMLDeclaration(Args...)(
  Args args
);

Authors

Copyright

License