JDOM
Tutorial (under construction)
 | Create a directory which will contain your Java XML install files.
 | "javaxml" - This is the directory name I created and
I've used in this tutorial.
|
|
 | Compile & Run notes
 | JDK lib\ext vs CLASSPATH - If using JDK1.2 or JDK1.3 you can copy .jar
files into the $JAVA_HOME\jre\lib\ext directory so that commands "javac"
and "java" will find the .jar files without setting the
CLASSPATH. With JDK1.1 you must modify your CLASSPATH to include
these files when compiling and running. You can also use the
CLASSPATH with later versions of the JDK if you prefer.
|
 | System environment variable: path
|
 | Note: When I state "copy the following .jar files to the
jre\lib\ext directory" you can use this approach or the CLASSPATH
approach.
|
|
 | Install JDOM (includes Xerces)
 | Download JDOM
|
 | Extract into the javaxml directory.
|
 | Copy the following .jar files to the jre\lib\ext directory: jdom.jar
(located in the "build" directory of the JDOM install: ie
jdom-b6\build)
|
 | Java Notes
 | jdom.jar packages: org/jdom, org/jdom/input, org/jdom/output,
org/jdom/adapters
|
 | xerces.jar packages (in \lib): javax/xml/parsers,
org/apache/html/dom, org/apache/wml, org/apache/xerces/...,
org/apache/xml/serialize, org/w3c/dom/..., org/xml/sax/...,
|
|
|
 | Install JAXP
 | Download JAXP
|
 | Extract into the "javaxml" directory.
|
 | Copy the following .jar files to the jre\lib\ext directory: jaxp.jar,
crimson.jar, xalan.jar (in the root directory of your JAXP install:
ie jaxp-1.1)
|
 | Java Notes
 | jaxp.jar packages: javax/xml/parsers, javax/xml/transform,
javax/xml/transform/dom, javax/xml/transform/sax, javax/xml/transform/stream
|
 | crimson.jar packages: org/apache/crimson/tree,
org/apache/crimson/jaxp, org/apache/crimson/parser,
org/apache/crimson/util, org/w3/dom, org/xml/sax/...
|
 | xalan.jar packages: javax/xml/parsers, javax/xml/transform,
javax/xml/transform/dom, javax/xml/transform/sax, javax/xml/transform/stream,
org/apache/xalan/..., org/apache/xml/utils/..., org/apache/xpath/...,
org/w3c/dom, org/xml/sax/...,
|
|
|
Optional XML installs
 | Install Xerces (optional)
 | Java Notes
 | xerces.jar packages: org/xml/sax/..., org/w3c/dom/...,
org/apache/xml/serialize, org/apache/xerces/..., org/apache/wml/...,
org/apache/html/dom, javax/xml/parsers
|
|
|
 | Install Xalan (optional)
 | Java Notes
 | xalan.jar packages:
|
|
|
|