I am using Delphi7 ClientDataSet to read and write xml files for some of my data.
Howerver, when I want to browse this outside the program (double clicking the xml in Windows Explorer) I get the 'An invalid character was found in text content. Error processing resource' - even although the data reads and writes fine from within Delphi.
Is there a way to force TClientDataSet to write it's contents in an indented way in stead in one line ?
That way I could easily open it into a text editor and find what character will trigger the above error.
Anyway: I find it much more clearer for an XML file to be written with CR/LF and indents anyway.
Thx in advance.