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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access