:: Documentation >>

responseXML

Returns response XML.

Available when the received data has text/xml content type and is valid XML document, otherwise null.

Syntax

var value = obj.getResponseXML(); 
obj.setResponseXML(value);        

Examples

var req = new AW.HTTP.Request;
req.setURL('<url>'); 
req.response = function(){
    alert(this.getResponseXML()); // show received xml document
}
req.request();

See also

responseText property

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5