How to convert XML (SOAP) to a JSON object using JavaScript

is it possible to send a request to an AJAX cross site with a SOAP request and get an XML response? and I want to convert my xml response to json format, is there any framework (e.g. mustache) to make this easy

+7
source share
1 answer

You can use the xml2js node library. It will convert xml to json and vice versa. But he does not use patterns. https://www.npmjs.com/package/xml2js

+1
source

All Articles