Fredrik Lundh wrote: > Diez B. Roggisch wrote: >>Just don't do any fancy encoding stuff at all, a simple >> rrr=xml.dom.minidom.parseString(open("tt.xml").read()) >>should do. > or > rrr = xml.dom.minidom.parse("tt.xml")
thanks a lot guys -- both approaches work a treat. in particular: diez, thanks for explaining what was going on from python's perspective -- http://mail.python.org/mailman/listinfo/python-list