Hello all,
First, please note I made this question
http://stackoverflow.com/questions/21827492/converting-json-to-xml-generated-invalid-xml"" target="_blank" rel="nofollow">here as well, but no satisfying answer so I came here.
I am trying to convert a JSON file into XML. My Json file is a Big Json Array. Below code shows how I am trying to make this happen.
This is how the Json files look like
This code generated invalid XML. When tested in XML Validators, they show the errors. What is wrong here? Please help.
**UPDATE**
I managed to generate the following output
But XML Validator in
here says:
I have been struggling with this for days , still no good and no one is able to help too. Any idea please?