code: def get_xml_parser(encoding=None):
      
      parser = etree.ETCompatXMLParser(
          huge_tree=True,
          remove_comments=True,
          strip_cdata=False,
          remove_blank_text=True,
          resolve_entities=False,
          encoding=encoding
      )
  
      return parser
docs: Returns an ``etree.ETCompatXMLParser`` instance.