I have an XML file which I want to convert into JSON file using python, but its nt working out for me.
This is probably what you are looking for:
https://github.com/mutaku/xml2json
import xml2json s = ''' Tove Jani Reminder Don't forget me this weekend! ''' print xml2json.xml2json(s)