0

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")
buddemat
  • 4,552
  • 14
  • 29
  • 49
ahad
  • 11
  • 2

0 Answers0