Re: [Tutor] Creating xml documents

2011-02-16 Thread Stefan Behnel
allan oware, 16.02.2011 09:20: Alright, Am stuck with xml.dom.minidom Interesting. Why would that be the case? , but is there correct usage for *Node.prettyxml() *resulting in less junky newlines and spaces ? i.e *from* 28.4258363792 -6.13557141177

Re: [Tutor] Creating xml documents

2011-02-16 Thread allan oware
Alright, Am stuck with xml.dom.minidom, but is there correct usage for *Node.prettyxml() *resulting in less junky newlines and spaces ? i.e *from* 28.4258363792 -6.13557141177 46.1374243603 6.41013674147 *to* * * 28.477417

Re: [Tutor] Creating xml documents

2011-02-15 Thread Stefan Behnel
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 form

Re: [Tutor] Creating xml documents

2011-02-15 Thread Karim
Hello, It seems stefan that version 1.3 still does not validate xml against xsd... Reg 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.ElementT

Re: [Tutor] Creating xml documents

2011-02-15 Thread Karim
Hello, It seems stefan that version 1.3 still does not validate xml against xsd... Reg 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.ElementT

Re: [Tutor] Creating xml documents

2011-02-15 Thread Stefan Behnel
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/e

[Tutor] Creating xml documents

2011-02-15 Thread allan oware
Hi there, Which python modules can one use to create nicely formatted xml documents ? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor