Using the element storage technique

This section uses the orders table to illustrate mapping between SQL data and XML ResultSet documents.

In “Composing a ResultSet XML document from the SQL data”, we generate an XML ResultSet document from the SQL data, assuming that we are the originator of the XML ResultSet document. We use the resulting XML ResultSet document to describe the ResultSet DTD.