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

Antonio Fortuny a.fortuny at sitasoftware.lu
Tue Jun 18 14:39:36 CEST 2013


Le 18/06/2013 14:35, Marcos Douglas a écrit :
> Hi,
>
> I need to save some huge XML files in HD.
> Today I call WriteXMLFile(Doc, AFileName) but I have XML with 5G, 10G.. 30G...
>
> What the best way to save "line by line"?
Append chuncks of lines to a TFileStream until source XML file is exhausted
>
> Regards,
> Marcos Douglas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-- 
Sita Software
*Antonio Fortuny*
Senior Software engineer

220, avenue de la Liberté
L-4602 Niederkorn
Tel.: +352 58 00 93 - 93
www.sitasoftware.lu <http://www.sitasoftware.lu>
Your IT Partner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130618/b3052417/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jhbchigc.jpg
Type: image/jpeg
Size: 2306 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130618/b3052417/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jehabijh.jpg
Type: image/jpeg
Size: 921 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130618/b3052417/attachment-0001.jpg>


More information about the fpc-pascal mailing list