[fpc-pascal] How to save a huge XML?

Marcos Douglas md at delfire.net
Tue Jun 18 15:54:11 CEST 2013


On Tue, Jun 18, 2013 at 10:44 AM, Michael Van Canneyt
<michael at freepascal.org> wrote:
>
>
> On Tue, 18 Jun 2013, Marcos Douglas wrote:
>
>>> No. The writer already uses a fixed buffer. Your problem is the use of
>>> TXMLDocument.
>>
>>
>> Ideas? Maybe do what Antonio Fortuny said before?
>>
>>>
>>> Simply put: logging to XML (worse: using DOM) is a VERY bad idea.
>>
>>
>> Well, this is a request of my client. Other process will read this XML.
>
>
> Under no circumstances should you use TXMLDocument for this.

So, where is recommended to use TXMLDocument class?

>
> Better write the XML manually then: 'fire and forget'.

Ok, I'll do it.

Marcos Douglas



More information about the fpc-pascal mailing list