Examples in the xml directory

The following table lists the files in the xml directory.

Demo program name Description
CreateDB.java Creates a sample database
makefile Compiles the examples
myHandler.java Sample class of callback routines for the SAX parser
sample1.xml Simple XML slide
sample2.xml Sample set of XML slides
sample2.dtd Document-type definition for sample1.xml
xmldemo1.java Uses XMLtoString(), getInputSource(), and myHandler.java to convert the XML in sample1.xml to an InputSource object and then parses it using the SAX parser