|
The elementtree package contains an alternate parser that can be used to keep track of prefix scopes. For examples, see the "Handling Qualified Names in SOAP" section on this page:
http://effbot.org/zone/elementsoap-3.htm
And the ASCII/Unicode thing is intentional, of course (what else did you expect from the guy that wrote Python's Unicode string type? ;-). ElementTree uses 8-bit strings for ASCII data, Unicode strings for everything else.
Cheers /F
|