How to Converting JDBC Result Sets to XML ?
This tutorial is designed to assist JavaTM developers who need to extract information from a database and place it into an XML document. The tutorial assumes that you are already familiar with Java and XML in general, and the Document Object Model (DOM) in particular. You should be familiar with Java programming, but prior knowledge of database connections using JDBC is not required to master the techniques described in this tutorial. The tutorial briefly covers the basics of SQL. GUI programming knowledge is not necessary because application input/output is handled from the command line. The links in Resources on page 26include referrals to tutorials on XML and DOM basics, and to a detailed SQL backgrounder. >> To get complete guide click here.