Hi Jason As long as you can override the default layout you can use VelocityLayout and VelocityXslLayout in parallel. Both makes use of VelocityScreen, but the Screen doesn't need to know what the layout does to its content. I'll do some work on the docs. For example you will not necessarily use XSL to go from XML to web content. You may for instance want to do a transformation on an uploaded XML document (which is easy for humans to read) to another XML schema that is more digestible to an XML database. ~ Leon ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 13, 2001 5:59 PM Subject: cvs commit: jakarta-turbine/xdocs/services xslt-service.xml > jvanzyl 01/05/13 08:59:48 > > Modified: xdocs/services xslt-service.xml > Log: > - adding docs for XSLT service. > > Leon, could you please take a look for glaring errors. Also is it > possible to use XSLT along-side standard velocity templates? If not > we might want to consider how we can do this. This is something that > can wait for 2.2, just thought i would mention it. > > Revision Changes Path > 1.4 +18 -3 jakarta-turbine/xdocs/services/xslt-service.xml > > Index: xslt-service.xml > =================================================================== > RCS file: /home/cvs/jakarta-turbine/xdocs/services/xslt-service.xml,v > retrieving revision 1.3 > retrieving revision 1.4 > diff -u -r1.3 -r1.4 > --- xslt-service.xml 2001/05/12 14:35:48 1.3 > +++ xslt-service.xml 2001/05/13 15:59:48 1.4 > @@ -11,6 +11,12 @@ > <section name="XSLT Service"> > > <p> > + The XSLT service is a simple way to transform a well-formed > + XML document into web content for your site. This may be > + dynamic or static content. You can easily integrate the > + XSLT service into a Turbine screen module, or you can > + use the existing <strong>org.apache.turbine.modules.layouts.VelocityXslLayout</strong> > + class to produce dynamic content. > </p> > > </section> > @@ -34,15 +40,24 @@ > . > . > . > +# ------------------------------------------------------------------- > +# > +# X S L T S E R V I C E > +# > +# ------------------------------------------------------------------- > +services.XSLTService.path = /WEB-INF/stylesheets > +services.XSLTService.cache = false > + > ]]></source> > > </section> > > <section name="Usage"> > - > -<source><![CDATA[ > > -]]></source> > +<p> > + Please look at the <strong>org.apache.turbine.modules.layouts.VelocityXslLayout</strong> > + for an example usage patter. > +</p> > > </section> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
