code: def _strip_namespace(self, xml):
          
          p = re.compile(b"xmlns=*[\"\"][^\"\"]*[\"\"]")
          allmatches = p.finditer(xml)
          for match in allmatches:
              xml = xml.replace(match.group(), b"")
          return xml
docs: strips any namespaces from an xml string