ADO XML Sample

Microsoft ActiveX Data Objects (ADO)

ADO XML Sample

The XML sample demonstrates how to save a Recordset in XML format to the IIS Response object to transfer data in an XML stream to an Internet client. It is installed to c:\Platform SDK\Samples\DataAccess\ado\XML. In order to write the XML stream directly to the ASP Response object, the sample requires that Microsoft Internet Information Services 5.0 (IIS) or later be installed.

To run the XML sample

  1. Using Internet Services Manager, create a virtual directory on IIS that points to the XML directory containing the sample files. Give the virtual directory script permissions.

  2. Open the address http://servername/XML/default.htm in Internet Explorer, where servername is the name of your Web server computer.