Introduction
This tutorial is for developers who need to parse XML documents from within their Java applications. It describes the process of installing, configuring, and testing the Xerces2 Java parser, version 2.2.1.
This tutorial addresses only the installation and configuration details for Xerces2, not its use. The reader need not be familiar with Java, or even XML, to benefit from the material discussed.
This tutorial describes the process necessary for installing, configuring, and testing the Xerces2 Java parser, which is maintained by the Apache Project. To install Xerces-J you need to prepare the environment by obtaining an appropriate Java Virtual Machine (JVM), setting environment variables, and installing the files. After installation, you may set other environment variables such as the CLASSPATH.
The tools necessary for this tutorial depend greatly on the platform and originally installed tools.
- A JVM, such as the IBM Java machine or Sun's JDK must be installed and working on the target machine. Links to JVMs for various platforms are listed in Resources.
- The Xerces2 Java 2.2.1 binary files: Apache provides pre-compiled files, so you don't need the source files. Download the binaries from http://apache.osuosl.org/xml/xalan-j/.




