Microsoft XML 2.5 SDK


 

responseXML Property

[This is preliminary documentation and subject to change.]

Represents the response entity body as parsed by the MSXML XMLDOM parser.

Syntax

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 document type definition (DTD) or XML-Data definition. If the response entity body is not valid XML, this method returns the XMLDOMDocument 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 XMLDOMDocument 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.

Applies To

XMLHttpRequest

See Also

responseBody, responseStream, responseText