Chapter 9: XML for SQL Result Sets

This chapter describes the ResultSetXml class, which allows you to generate an XML document representing an SQL result set, and to access and update such an XML document.

The source code for the ResultSetXml class is in the following directories:

You can use the ResultSetXML class to process SQL result sets with XML and as an example of how to write Java code for accessing XML. Chapter 8, “Specialized XML Processing,” provides an additional example of Java code.