:: Home >>

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

No comments yet.
Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData