RE: [xml-dev] XML Parsing using DOM parser

From
Michael Kay <>
To
'Deepa Venkatesan' <>,
Date
2002-01-02T18:42:27
ID
<001701c193bd$3bd2d760$465169d5@pcukmka>
Thread
RE: [xml-dev] XML Parsing using DOM parser
>            Kindly share your thoughts.. I recently
> wrote a code to parse an XML file containing catalog
> content (as big as 10MB) using DOM parser. The
> performance has been miserable particularly when the
> XML file size increased.

An XML document is not a database.

With 10Mb, you can use the DOM representation as a kind of in-memory
database provided it lives in memory permanently, but you can't load the
whole thing into memory each time you do a transaction. That's simply not
the way XML is designed to be used.

Mike Kay
>