[fpc-pascal] How to save a huge XML?
Marcos Douglas
md at delfire.net
Fri Jun 21 15:06:32 CEST 2013
On Fri, Jun 21, 2013 at 9:57 AM, waldo kitty <wkitty42 at windstream.net> wrote:
> 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. ;)
=)
Marcos Douglas
More information about the fpc-pascal
mailing list