XML : XML to JSON parse error

I'm trying to convert an xml file in my angularjs app, but there is a parse error when I try converting the xml to json, and I can't get any data output in the view. I'm using the x2js library. I've entered my xml into online xml to json converters and each time I attempt to clean up the xml for parsing I get another error. If anyone could point out what is wrong in the xml or what needs to be fixed, it would be greatly appreciated. Also note that the issue doesn't lie with any of the code in the angular app itself, because I was previously running the app with another xml file and it was working. The problems occurred when I tried changing another xml file, which was formatted alittle differently. For reference, here is the new xml: http://50.22.49.237/XMLFiles/AUDITFEE_XML.xml

and here is the old xml: http://50.22.49.237:8084/XMLFiles/ReformatedSample.xml

Thank you for any help.

No comments:

Post a Comment