Problem
Convert Data Stored in an XML File to a JSON File.This task focuses on converting the Austrailian Sport Thesaurus stored in an XML file ("australian-sport-thesaurus-student.xml") into a JSON file
• you must correctly extract the thesaurus in the XML file and store it in the JSON file;
• while extracting the thesaurus from the XML file, existing Python Packages that are written to parse XML files (e.g., Beautiful-soup, lxml and ElementTree) must not be used. You must write your own Python script to extract the thesaurus. Hint: Regular Expressions can be used.
• Python packages, like json, can be used to save the extracted thesaurus;
• your script must be written in a Jupyter notebook named as "xml_json.ipynb";
• the JSON data should be saved in a file named as "sport.dat";
• the input file must only be "australian-sport-thesaurus-student.xml".
Attachment:- Australian-Sport-Thesaurus-Student.rar