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

Marcos Douglas md at delfire.net
Tue Jun 18 18:59:57 CEST 2013


On Tue, Jun 18, 2013 at 12:21 PM, Zaher Dirkey <parmaja at gmail.com> wrote:
>
>
> On Tue, Jun 18, 2013 at 6:09 PM, Marcos Douglas <md at delfire.net> wrote:
>>
>> But I continue to keep the XML in memory...
>> The easy and fast way as I can see is change the TXMLLogger class to
>> write a simple file text but not using DOM.
>
>
> Hmm, give us a small example of that xml.

<?xml version="1.0" encoding="utf-8"?>
<root>
  <connection login="uref" database="DB_REF"/>
  <start dh="2013-06-18T13:54:57"/>
  <line idDoc="912" status="ok"/>
  <line idDoc="913" status="ok"/>
  <line idDoc="914" status="ok"/>
  <line...>
  <finish dh="2013-06-18T13:54:58"/>
</root>

Marcos Douglas



More information about the fpc-pascal mailing list