Hi Motti, "Motti Shneor" <[EMAIL PROTECTED]> writes:
> My alternative is to completely rewrite the code-generator to use > independent documents for each object, which is a lot of work. > > Any ideas? One (radical) idea is to use a better XML data binding tool, for example CodeSynthesis XSD (full disclosure: I am involved in the development). While XSD also uses Xerces-C++ as an underlying XML parser, it keeps DOMDocument around only for a short period during parsing and serialization. Also each new document parsing or serialization action uses new DOMDocument instance so there is no memory bloat problem. http://www.codesynthesis.com/products/xsd/ hth, -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
