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

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 19 15:26:27 CEST 2013


On Wed, 19 Jun 2013 13:31:45 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:

> 
> 
> On Wed, 19 Jun 2013, Michael Schnell wrote:
> 
> > On 06/19/2013 12:14 PM, Graeme Geldenhuys wrote:
> >> XML is by far the worst format anybody could choose
> >
> > Yep. bus as it is "Standard" some need to ....
> >
> > Thus IMHO the way to go is to have the basic XML component work on linked 
> > lists with binary data in memory and only when loading/saving use an ASCII 
> > representation.
> 
> What do you think TXMLDocument and XMLWriter do ? Exactly this.

And that's why a TXMLDocument needs easily 10 times more
memory than the actual xml file.

Mattias



More information about the fpc-pascal mailing list