Another possible format for the output is XML. For this format, you use the ResponseXml property, which is available only when the content type of the server page is set to text/xml and the output is a well-formed XML document. In the case of an invalid content type or format, the ResponseXml property simply returns the keyword Nothing. Two other propertiesResponse-Stream and ResponseBodyformat content as a stream or an array of bytes, respectively.
The code in Listing 3, which is only slightly more complex than the code in Listing 2, downloads the content of a Web page. The code then uses the FileSystemObject object to save the page locally.
XmlHttpRequest's Other Methods
One way to think about the XmlHttpRequest component is as a sort of object model built on top of HTTP because calls to the component always originate HTTP operations. The COM wrapper around the HTTP rules makes this interesting and powerful functionality available to VBScript applications. . . .