Sidnei da Silva writes: > The difference is that this doesnt set the 'encoding' attribute of the > xml element. I suppose I should set it by hand. For UTF-8, the encoding pseudo-attribute of the XML declaration doesn't need to be set: it's UTF-8 by default if it isn't UTF-16. -Fred -- Fred L. Drake, Jr. <fred at zope.com> PythonLabs at Zope Corporation