O'Reilly logo

Special Edition Using XSLT by Michael Floyd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Loading XML Documents

Java has several different libraries for dealing with XML. The basic XML library is called JAXP (Java API for XML Parsing) and includes classes for reading and writing XML files as well as applying XSLT transformations.

If you are using Tomcat 4.0 or later, you already have JAXP on your system. Tomcat 4.0 includes version 1.1 of the JAXP library. Unfortunately, your Tomcat installation might not include the Xalan XSLT processor that is included in Sun’s JAXP distribution. Because you want to do XSLT processing with Tomcat, you need to download JAXP from Sun and unpack the ZIP or .tar.gz file. When you unpack JAXP, you’ll see that there is a file called xalan.jar in the main JAXP directory. Simply copy this file to the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required