Re: [xml] Saving without tree

Date view Thread view Subject view Author view

From: mdf@angoss.com
Date: Fri May 26 2000 - 15:46:33 EDT


> > 1) Is there a better way? [to generate XML documents than masses of
> > fprintfs]

Without some of the convenient syntax of C++ this will become really
disgusting really fast, and prone to irritating bugs that are tedious
to fix. But thats just my opinion; you might like wading through a
sea of incomprehensible printfs, trying to make safe changes to the
generator...

> I don't know any better way if you don't have an XML tree built in memory

How about extending libXML to be a generator as well as a parser?

Failing that, allowing one to use the streams libXML reads from in an
output mode would be nice [thus one gets compression 'for free'].

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:12 EDT