I am running into issues when trying to use the DOMParser in my js code. In my code, I retrieve an xml file via xmlhttp.responseText soap response. I want to be able to ac
You can use a Node implementation of DOMParser, such as xmldom. This will allow you to access DOMParser outside of the browser. For example:
var DOMParser = require('xmldom').DOMParser; var parser = new DOMParser(); var document = parser.parseFromString('Your XML String', 'text/xml');