def delete_namespace(parsed_xml):
if parsed_xml.getroot().tag.startswith('<STR_LIT:{>'):<EOL><INDENT>root = parsed_xml.getroot().tag<EOL>end_ns = root.find('<STR_LIT:}>')<EOL>remove_namespace(parsed_xml, root[<NUM_LIT:1>:end_ns])<EOL><DEDENT>return parsed_xml<EOL>
Identifies the namespace associated with the root node of a XML document
and removes that names from the document.

:param parsed_xml: lxml.Etree object.
:return: Returns the sources document with the namespace removed.