Re: xml tree writing with ElementTree; prepends elements with ns0

2011-10-11 Thread Alain Ketterlin
Alain Ketterlin writes: > "Alex van der Spek" writes: > >> When reading a tree and writing it back to a new file all the elements are >> prepended with the string ns0: > > That's a namespace prefix. > >> >> Why is it prepended and how can I suppress this? > > See http://effbot.org/zone/element-

Re: xml tree writing with ElementTree; prepends elements with ns0

2011-10-11 Thread Alain Ketterlin
"Alex van der Spek" writes: > When reading a tree and writing it back to a new file all the elements are > prepended with the string ns0: That's a namespace prefix. > > Why is it prepended and how can I suppress this? See http://effbot.org/zone/element-namespaces.htm I'm not sure you can def

xml tree writing with ElementTree; prepends elements with ns0

2011-10-11 Thread Alex van der Spek
When reading a tree and writing it back to a new file all the elements are prepended with the string ns0: Why is it prepended and how can I suppress this? Thanks, Alex van der Spek -- http://mail.python.org/mailman/listinfo/python-list