xsl-list
[Top] [All Lists]

Re: [xsl] XSLT Saxon Transformation in JSP pages ?

2006-09-04 04:46:46
You have written your code quite nicely to invoke XSLT transformation from JSP.
You can further modularize it by creating a Java bean, or perhaps by
creating your custom JSP tags (as you have mentioned).

Please see my answers below.

On 9/4/06, Vincent Blondel <vincent(_at_)xtra-net(_dot_)org> wrote:

* How can this work without any jar file ( saxon.jar ) in my web
application, is this comimng from jdk ( 1.5.0_06 ) himself ?

No, Saxon jar file is not bundled with JDK 1.5.0_06. JDK comes bundled
with Xalan-J. If you want to use Saxon, you have to use it explicitly.
You have to place the Saxon jar in system classpath, and use it.

* How can I integrate my XSLT transformation with saxon exngine ?

To invoke Saxon via JAXP, you have to set the JAXP property
javax.xml.transform.TransformerFactory to
net.sf.saxon.TransformerFactoryImpl (for Saxon-b 8.7.3J)

* Is there a way to make this easier , with special Jsp Saxon tags ?

I am not quite sure. This is a Java application design issue. Perhaps
you can create your own JSP custom tags for invoking XSLT.

--
Regards,
Mukul Gandhi

http://gandhimukul.tripod.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--