[fpc-pascal] How to save a huge XML?
waldo kitty
wkitty42 at windstream.net
Fri Jun 21 14:57:12 CEST 2013
On 6/20/2013 17:34, Marcos Douglas wrote:
> On Wed, Jun 19, 2013 at 12:57 PM, Graeme Geldenhuys
> <graeme at geldenhuys.co.uk> wrote:
>> 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.
Options: Pretty code, Fast code, Working code
Choose any two options for final output. ;)
--
NOTE: No off-list assistance is given without prior approval.
Please keep mailing list traffic on the list unless
private contact is specifically requested and granted.
More information about the fpc-pascal
mailing list