import re
xmlstring = re.sub(' xmlns="[^"]+"', '', xmlstring, count=1)
Python ElementTree module: How to ignore the namespace of XML files to locate matching element when using the method "find", "findall"