Karim, 15.02.2011 17:24:
On 02/15/2011 02:48 PM, Stefan Behnel wrote:
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

It seems stefan that version 1.3 still does not validate xml against xsd...

I have no idea what this has to do with either the OP's thread (i.e. this thread) or with me.

It's true, though, that ElementTree does not support validation against W3C XML Schema. If you need that, you can use lxml, but I do not see the OP needing this.

Stefan

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to