Installing XML Parser for Java, Version 2
These sections describe how to install the Windows NT and UNIX versions of the XML Parser for Java, Version 2.
XML Parser for Java, Version 2: Windows NT Installation
To install the Oracle XML Parser for Java (v2) on Windows NT follow these steps:
- Install JDK-1.1.x. or above and either unzip or WinZip executable.
- Download the Oracle XML Parser in ZIP format.
- Unzip xmlparser.zip into a directory. For example:
C:\[your directory]> unzip xmlparser.zip
- The result should be the following files and directories:
- license.html -- copy of license agreement
- readme.html -- release and installation notes
- doc\ -- directory for documents
- lib\ -- directory for parser class files
- sample\ -- sample code files
XML Parser for Java, Version 2: UNIX Installation
To install the XML Parser for Java (v2) in UNIX follow these steps:
- Install JDK-1.1.x or above and GNU gzip.
- Download the Oracle XML Parser in .tar.gz format.
- Extract the distribution package into a directory. For example:
#gzip -dc xmlparser.tar.gz | tar xvf -
- The result should be the following files and directories:
- license.html -- copy of license agreement
- readme.html -- release and installation notes
- doc/ -- directory for documents
- lib/ -- directory for parser class files
- sample/ -- sample code files
Sample Code
See Chapter 17, "Using XML Parser for Java", for sample code and suggestions on how to use the XML Parsers.