This directory contains some sample XML applications to show how to use the 
Oracle XML parser.

The following are the sample Java files in this directory:

        SAXSample - A sample application using SAX APIs.
        DOMSample - A sample application using DOM APIs.
	XSLSample - A sample application using XSL APIs.

        SAXNamespace - A sample application using Namespace extensions 
                        to SAX APIs.
        DOMNamespace - A sample application using Namespace extensions
                        to DOM APIs.
        Tokenizer    - A sample application using XMLToken interface APIs.
                       The Tokenizer application implements XMLToken interface,
                       which must be registered using the setTokenHandler() 
                       method.  A request for the XML tokens is registered 
                       using the setToken() method.  During tokenizing,
                       the parser doesn't validate the document and doesn't 
                       include or read internal/external utilities. 

In addition, because some of the package names are different in V2, 
difference files were generated to show what the differences are between
V2 and V1 of the XML parser.

To run these sample programs:

1) Use "make" to generate .class files.
2) Add xmlparserv2.jar and the current directory to the CLASSPATH.
3A) Run the sample program for DOM/SAX APIs: 
	java <classname> <sample xml file>.
3B) Run the sample program for XSL APIs: 
	java XSLSample <sample xsl file> <sample xml file>.
3C) Run the sample program for Tokenizer APIs:
        jaba Tokenizer <sample xml file> <token string>

A few .xml and files are provided as test cases. The xsl stylesheet iden.xsl
can be used to achieve an identity transformation of the xml files:
        class.xml NSExample.xml family.xml empl.xml
