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