I have been trying to convert a dataset file in XML format to JSON. I tried many solutions, I always got the same error
ExpatError: not well-formed (invalid token): line 67667, column 103
I tried untangle
, xmltodict
, pandas_read_xml as pdx
This is my code for my attempt with pandas_read_xml as pdx
which was the last solution:
df = pdx.read_xml("Ryiadh_utf_8.xml")```