How to generate XML

Just van Rossum just at xs4all.nl
Thu Feb 14 05:45:52 EST 2002


In article <3C6B80D8.C80DF0ED at unice.fr>, Jerome Alet <alet at unice.fr> 
wrote:

> > >> print "<foo/>"
> 
> I suggest you to try my jaxml module available under the GPL at
> http://cortex.unice.fr/~jerome/jaxml/
> 
> it is alsmost as easy to use as print statements but takes care of the
> closing tags for you.

Wow. That's the complete opposite of what I needed when I wrote this:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/fonttools/fontt
ools/Lib/xmlWriter.py?rev=1.2&content-type=text/plain

I needed a relatively simple interface to create (potentially) large xml 
files, so it writes everything to disk right away. It's otherwise pretty 
braindead...

Just



More information about the Python-list mailing list