JavaScript AJAX Basics (retiring) Programming AJAX Parsing JSON Data

xml to json

I have a xml file, the files are all in xml. Is there a way i can get them in JSON format? It is helpful because i am trying to access a remote server xml and ajax doesn't allow cross domain.

2 Answers

Lakindu Jayathilaka
Lakindu Jayathilaka
15,223 Points

There are many online tools that will help u in the conversion of file types such as XML to JSON. Some of the best tools are http://www.utilities-online.info/xmltojson/#.ViWRmX6rTIU and http://codebeautify.org/xmltojson (i recommend using this tool) If i managed to help, please mark my answer as the best