My XML file looks like the following:
I ended up stripping out the xmlns from the raw xml like that:
def strip_ns(xml_string): return re.sub('xmlns="[^"]+"', '', xml_string)
Obviously be very careful with this, but it worked well for me.