Microsoft XML SDK 2.6 - XML Reference

responseXML Property

Represents the response entity body as parsed by the Microsoft XML Parser (MSXML).

objDispatch = oXMLHttpRequest.responseXML

Remarks

Object. The property is read-only. For security reasons, the parser validation features are always turned off to prevent MSXML from attempting to download a DTD or XML-Data definition. If the response entity body is not valid XML, this property returns the DOMDocument object that was parsed so that you can access the error object. This property does not return the XMLDOMParseError error object itself, but that object is accessible from the DOMDocument object.

If the response was generated by an ASP page and the MIME type was not correctly set to "text/xml" using the ASP method Response.ContentType, responseXML will be empty.

See Also

responseBody Property | responseStream Property | responseText Property

Applies To: XMLHttpRequest Object