code: def convert_xml_to_text(filename: str = None,
                          blob: bytes = None,
                          config: TextProcessingConfig = _DEFAULT_CONFIG) -> str:
      
      with get_filelikeobject(filename, blob) as fp:
          soup = bs4.BeautifulStoneSoup(fp)
          return soup.get_text()
docs: Converts XML to text.