Microsoft XML 2.5 SDK


 

responseText Property

[This is preliminary documentation and subject to change.]

Represents the response entity body as a string. The XMLHTTP object tries to decode the response into a unicode string. It assumes the default encoding is UTF-8, but it can decode any type of UCS-2 (big or little endian) or UTC-4 encoding as long as the server sends the appropriate unicode byte-order mark. It does not process the "<?" xml coding declaration. If you know the response is going to be XML, you should use the responseXML property for full XML encoding support.

Syntax

objValue = oXMLHttpRequest.responseText

Remarks

Variant. The property is read-only. This property represents only one of several forms in which the HTTP response can be returned.

Applies To

XMLHttpRequest

See Also

responseBody, responseStream, responseXML