Convert data stored in an xml file to a json file this task


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

Request for Solution File

Ask an Expert for Answer!!
Database Management System: Convert data stored in an xml file to a json file this task
Reference No:- TGS02709689

Expected delivery within 24 Hours