Converting an xml to dictionary
I have an XML file like this: <?xml version="1.0" encoding="UTF-8"?> <items> <item type="dict"> <job_id type="str">id-1</job_id > <title type="str">title-1</title> <desc type="str">desc-1</desc> </item> <item type="dict"> <job_id type="str">id-2</job_id> <title type="str">title-2</title> <desc type="str">desc-2</desc> </item> </items> I want to parse this into a dictionary, in such a way that I can access the job using it’s id. So the dictionary… Read More Converting an xml to dictionary