How can I convert an XML response of a service to a JSON in Javascript? Anyone can help me
Thanks!
How can I convert an XML response of a service to a JSON in Javascript? Anyone can help me
Thanks!
I get this error:
TypeError: xml.hasChildNodes is not a function
Thatβs an error you need to solve yourself.
The general approach suggested still stands - you need to find a lightweight JavaScript XML parser.