Edward K. Ream wrote:

> What suits me best is what the *user* specified, and that got put in the 
> first xml line.
> I'm going to have to parse this line myself.

Please consider adding some elements to the document itself that
describe the desired output format, such as:

...
<output>
   <encoding>utf-8</encoding>
</output>
...

This allows the client to specify the encoding it wants to receive
the document in, even if it's different than the encoding it used
to make the first document. More flexibility. Less fooling around.

--Irmen
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to