ElemenTree and namespaces

Andrew Dalke dalke at dalkescientific.com
Mon May 16 15:48:18 EDT 2005


Matthew Thorley wrote:
> Does any one know if there a way to force the ElementTree module to
> print out name spaces 'correctly' rather than as ns0, ns1 etc? Or is
> there at least away to force it to include the correct name spaces in
> the output of tostring?

See http://online.effbot.org/2004_08_01_archive.htm#20040803
(starting with "more xml").  That was a response to Uche's article at
  http://www.xml.com/pub/a/2004/06/30/py-xml.html
and with a followup at
  http://www.xml.com/pub/a/2004/08/11/py-xml.html

				Andrew
				dalke at dalkescientific.com




More information about the Python-list mailing list