[Tutor] Creating xml documents

Stefan Behnel stefan_ml at behnel.de
Tue Feb 15 14:48:10 CET 2011


allan oware, 15.02.2011 14:31:
> Which python modules can one use to create nicely formatted xml documents ?

Depends on your exact needs, but xml.etree.ElementTree is usually a good 
thing to use anyway. If you care about formatting (a.k.a. pretty printing), 
look here:

http://effbot.org/zone/element-lib.htm#prettyprint

Stefan



More information about the Tutor mailing list