[Expat-discuss] XML Manipulation

Mohun Biswas m_biswas at mailinator.com
Wed Mar 15 20:24:16 CET 2006


Nick MacDonald wrote:
> Note that eXpat is a SAX parser, which means it does not load the
> entire XML document into memory, and you basically get to see the
> document in one pass.  If you need to have the whole document in
> memory for your processing, you'll probably want to look into another
> type of XML processor, such as a DOM based one that loads the whole
> XML document into memory, and provides the means to "walk" through it
> in memory.
> 
> Some day someone should write a sample program to translate an XML
> file and include it with the basic eXpat package as an example...  if
> such a thing were to be done that would be exactly where you'd want to
> start.

There's an open source C library out there called "DOMC" which, as I 
understand it, uses eXpat to form a DOM. I haven't used it but it looks 
interesting.



More information about the Expat-discuss mailing list