Re: ElementTree.write() question

2004-12-17 Thread Fredrik Lundh
Stephen Waterbury wrote: > [If there is a separate list for elementtree, please someone > clue me ... I didn't see one.] the xml-sig is preferred, I think. > Fredrik or other xml / elementtree gurus: > > I see from the source that ElementTree.write() writes > > > > at the beginning of the xml o

ElementTree.write() question

2004-12-16 Thread Stephen Waterbury
[If there is a separate list for elementtree, please someone clue me ... I didn't see one.] Fredrik or other xml / elementtree gurus: I see from the source that ElementTree.write() writes at the beginning of the xml output if an encoding other than utf-8 or us-ascii is selected. Shouldn't it also