[
Lists Home |
Date Index |
Thread Index
]
> 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
>
|