WriteXMLDeclaration Method
Writes an XML declaration at the top of the document.
Syntax
int WriteXMLDeclaration(char* lpszVersion, int bIncludeEncoding, int bStandalone);
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.