Hi,

I added an xslt Service to the cvs.  It basically takes an xml and xsl input
and returns the transformed output.  Transformation is done with Xalan and
stylesheets are pre-compiled and cached for increased speed.

I had to build it for a project I'm currently working on, and I will do some
more work (including some docs) on it in the future.  I'd also like to add
some anakia support at some stage.

Any comments welcome....

To use it you need to add the following lines to your
TurbineResources.properties:

# Tell turbine about the XSLTService
services.TurbineXSLTService.classname=org.apache.turbine.services.xslt.Turbi
neXSLTService

# Tell the service where to find the .xsl stylesheets.
services.TurbineXSLTService.path=/path/to/stylesheets/

# Tell the service to cache compiled stylesheets.  If this property is set
to true the
# xsl transformation is very fast.
services.TurbineXSLTService.cache=false

All you need to do now is to call one of the two overloaded transform()
methods.

~ Leon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to