Due to '&' in XML files, parsing XML files fails. The code is simple as shown below.
xmlparse = Xet.parse(input_file_path + file_name, parser=Xet.XMLParser(encoding="utf-8"))
I found '&' in the XML files causing the below error.
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1839, column 1016
and I can find the '&' character in the indicated line and column.
what should I do to fix this problem?