responseXML of XMLHttpRequest gives an object

Topics: General
Oct 9, 2012 at 9:59 AM

How can I get an xml object so that I can call getElementsByTagName etc on it? This gives an object only:

      var xhr = new XMLHttpRequest();
      xhr.open('GET', "test", false);
      xhr.send();
      var xml = xhr.responseXML;

Coordinator
Oct 9, 2012 at 4:29 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.