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] Alternatives to DOM for writing XML

[ Lists Home | Date Index | Thread Index ]

Wayne Henshaw <whenshaw@progress.com> writes:

> Hi all,
>   We are trying to solve the problem of writing large XML documents (so
> large that we can't use our DOM parser because of memory constraints)
> and are wondering how other people have handled the problem. I know that
> although "SAXWriter" isn't formally a part of the the SAX API there are
> some libraries that include one, but the parser we use does not. Adding
> to the challenge is the fact that our application is C/C++, so we can't
> easily use Java support. Any suggestions? Thanks.

Have a look at LT XML [1] -- it's a C API for streaming in _and_ out
which was explicitly designed to work with arbitrarily large files.

ht

[1] http://www.ltg.ed.ac.uk/software/xml/
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]




 

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

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