23/03/2012 16:32:59
 Liquid Support Posts: 89
|
Hi, For some background, please see knowledge base article: http://www.liquid-technologies.com/SmarterTrack/KB/a87/why-do-i-get-error-error-not-well-formed-invalid-token.aspx
ToXml() always returns the standard encoding for strings of the programming language used, i.e. in C++ it would be the local code page, and for C++ built as UNICODE and for other languages (C#, VB.Net, Java, VB6) it would be Unicode. This is so the data can be manipulated as strings within your code.
ToXmlFile() and ToXmlStream() deal with Binary Data in the encoding specified for the XML Document, which you can pass as a parameter.
Hope this helps.
|