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