WriteXMLDeclaration Method
Writes an XML declaration at the top of the document.
Syntax
procedure WriteXMLDeclaration(Version: String; IncludeEncoding: Boolean; Standalone: Boolean);Remarks
This method should be call first to write a new XML declaration at the top of the document. Version specifies the XML version to use ('1.0').
If IncludeEncoding is true, an encoding attribute will be included based on the current Charset. If Standalone is true, the standalone="true" attribute will be included on the declaration.