function SaveDocumentToStringWithFormat(Document : IcdaClinicalDocument; format : String) : String;
Save the document to a String using the specified format. Format is a series
of tokens separated by spaces. The tokens may be one of the following:
You can only specify one character encoding. Since the list of character encodings is not limited, any unknown
token will treated as a character encoding. The encoding is passed onto msxml - use one that msxml recognises.
- [char-encoding] where character encoding is ANSI, UTF-8, UTF-16BE etc. Default is ANSI for ER7 and UTF-8 for XML
- pretty - when writing XML, whether to include spaces for easy visibility
© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.