Using ViewRecords to Retrieve Data as an XML Data Stream

The viewData.asp file creates an instance of the SQLXML component and calls the ViewRecords method, which is a public function in SQLXML. The following diagram shows the methods that work together to retrieve data from the Eval database, convert the data to an XML data stream, and return the data stream to the browser.

The following topics describe the process of creating an XML data stream from information passed as parameters to ViewRecords: