How to get response in xml format ie returned from script include

akshatapatil354
Tera Contributor

Hi,

 

I have a query, we return a value from script include to client script, that data is in xml format, so we use below code to fetch the answer.

var answer =  response.responseXML.documentElement.getAttribute('answer');

 But I want to see the xml of the above line, where exactly it is stored?

 

response-> responsexml -> documentelemet -> attribute answer

 

Regards,

Akshata Patil

2 REPLIES 2

akshatapatil354
Tera Contributor

How to view response in xml format, can any one help me with it?

Use the developer tool on your browser.  You will be able to view the response from your request.