OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ 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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS