On Wed, Jun 19, 2013 at 12:57 PM, Graeme Geldenhuys <gra...@geldenhuys.co.uk> wrote: > On 19/06/13 13:17, Marcos Douglas wrote: >> >> Yes, but my client wants XML... another process will use it. > > If the "another process" is also under your control, then maybe you can > educate the client about not using XML. Yes, I know that is a tall order > - some client are idiots and just go with flashy words they heard > elsewhere, and think it must be a requirement.
No. Other software will read this file and is out of my control. > Your only [sane] alternative would then be to NOT use TXMLDocument, pray > that your XML format isn't too complex, then use TFileStream (or > something similar), and generate the XML lines one by one, using simple > string concatenation or Format() statements etc. Yes, I did like that. The code is not pretty, but it works much faster. Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal