This directory contains some sample XML applications to show how to use the 
Oracle XML parser via the DOM and SAX C interfaces.

This directory contains:

    DOMNamespace.c	Source for DOMNamespace program
    DOMSample.c		Source for DOMSample program
    FullDOM.c           Sample usage of DOM interface
    Makefile		Makefile for sample programs
    NSExample.xml	Sample XML file using namespaces
    README		This file
    SAXNamespace.c	Source for SAXNamespace program
    SAXSample.c		Source for SAXSample program
    cleo.xml		XML version of Shakespeare's play
			"The Tragedy of Antony and Cleopatra"

An error message file is provided in the mesg subdirectory.  Currently, the
only message file is in English although message files for other languages
may be supplied in future releases.  You should set the environment variable 
ORA_XML_MESG to point to the absolute path of the mesg subdirectory.
Alternately, if you have an $ORACLE_HOME installed, you may copy the contents
of the mesg subdirectory to the $ORACLE_HOME/oracore/mesg directory.

The following programs will be built:

    SAXSample [word]	A sample application using SAX APIs.  Given a word,
			shows all lines in the play Cleopatra containing that
			word.  If no word is specified, 'death' is used.

    DOMSample		A sample application using DOM APIs (shows an
			outline of Cleopatra, i.e. the XML elements ACT
			and SCENE).

    SAXNamespace	A sample application using Namespace extensions to
			SAX API; prints out all elements and attributes of
			NSExample.xml along with full namespace information.

    DOMNamespace	Same as SAXNamespace except using DOM interface.

    FullDOM		Sample usage of full DOM interface.  Exercises all
			the calls, but does nothing too exciting.
