no line breaks in xml file with elementTree

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Oct 31 04:28:16 EDT 2010


In message <mailman.412.1288509358.2218.python-list at python.org>, hackingKK 
wrote:

> I want to know if there is a way to have the ElementTree module write to
> an xml file with line breaks?

Why does it matter? The XML files you generate are not for humans to look 
at, are they?

> Further more, I just was curious why elementtree is not having the
> namespace facility?

ElementTree handles namespaces just fine.



More information about the Python-list mailing list