When you store XML documents of a particular type in Adaptive Server, you may want to update them or to process them in specialized ways. One way is to write a Java class specifically designed for the updates and processing of that type of XML document. This chapter shows an example of such a Java class, designed for the OrderXML documents described in Chapter 6, “Introduction to XML in the Database.”
This section first describes the OrderXML class and its methods, and then provides a simple example that demonstrates how you can store XML documents or the data that they contain in an Adaptive Server database.
The source code and Javadoc for the OrderXML class is located in:
$SYBASE/ASE-12_5/sample/JavaSql (UNIX)
%SYBASE%\ASE-12_5\sample\JavaSql (Windows NT)