play.xsl sample stylesheet produces multiple output files, which makes it
unsuitable for running in a servlet environment. It's intended to illustrate a
capability that's best used at publishing time. (After all, Shakespeare plays
don't change very often, so it doesn't make much sense to render them each time
a user requests a page).
I'm running Tomcat 4.0 standalone and using Saxon
6.4.4 - I placed the saxon.jar file in Tomcat lib directory, and placed the
saxon servlet into the sames class directory as the sample servlets.
The Othello.xml, play.dtd and play.xsl stylesheet
file were also placed in the correct directory.
Seems to locate all the input files correctly,
however when I run the servlet directly as a URL I get the following
Failed to create output file /scene1.html
Any ideas?? Should it not be directly creating and
rendering the output html?
----- Original Message -----
Sent: Thursday, August 30, 2001 1:07
Subject: RE: [saxon] Servlet
Javadoc information for the Saxon API is included
with the product. The classes you are interested in are mainly those in the
javax.xml.transform package (i.e. the JAXP 1.1 API, also known as TrAX), and
you might also find it useful to get the JAXP 1.1 documentation from Sun
(though this is mainly just the Javadoc again). You might also find the
source code in TraxExamples.java useful.
I am trying to write a
servlet to do simple Transforms using SAXON. I looked
the saxon page and there is an example there,
however I am still a bit
not clear about it.
Is there a plain vanilla Servlet out there or
is there documentation (JAVADOC API)
somewhere that describes the different
methods for SAXON?
Gaithersburg, MD 20899