Sys.Net.WebRequestExecutor xml Property
Attempts to get the response to the current request as an XMLDOM object.
To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.
var xml = MyExecutor.get_xml();
If a request finished successfully with valid response data, this method tries to get the response as an XMLDOM object.
The following example shows how to use the xml property by using the default Sys.Net.XMLHttpExecutor class.
// This is the event handler called after
// the Web request returns. It is designed
// for Web requests that return XML.
function OnSucceededXml(executor, eventArgs)
// Display XML.
resultElementId.innerText += executor.get_xml().xml;
resultElementId.textContent += "First node: " +