======================================================================= CONTENTS OF THIS DOCUMENT: o) HOW TO PROVIDE XSL TRANSFORMATIONS AS A WEB SERVICE o) HOW TO INVOKE TRANSLETS FROM A SERVLET ----------------------------------------------------------------------- HOW TO PROVIDE XSL TRANSFORMATIONS AS A WEB SERVICE With XSLTC, XSL transformations can be run from within a servlet. This sample code demonstrates how that can be implemented. The CompiledEJB and CompiledBrazil sample code demonstrate other aproaches to providing XSL transformations as a web service. ----------------------------------------------------------------------- HOW TO INVOKE TRANSLETS FROM A SERVLET The CompiledServlet directory contains the example source code: TransformServlet.java This file contains a minimal implementation of an XSL transformation servlet. When you deploy your servlet, make sure that the XSLTC TransformerFactory will be used by either setting the system property "javax.xml.transform.TransformerFactory" with the value "org.apache.xalan.xsltc.trax.TransformerFactoryImpl", or by making a file with the name "META-INF/services/javax.xml.transform.TransformerFactory" containing the single line org.apache.xalan.xsltc.trax.TransformerFactoryImpl available on your CLASSPATH. ----------------------------------------------------------------------- END OF README