Sys.Net.WebRequestExecutor xml Property

Attempts to get the response to the current request as an XMLDOM object.

Note

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();

Remarks

If a request finished successfully with valid response data, this method tries to get the response as an XMLDOM object.

Example

The following example shows how to use the xml property by using the default Sys.Net.XMLHttpExecutor class.

See Also

Reference

Sys.Net.WebRequestManager Class

Sys.Net.WebRequest Class

Sys.Net.XMLHttpExecutor Class