Hi
I know the use of JSPs is frowned upon but...
Has anyone tried using the XSLTService with JSPs with success? Any pointers
[examples would be ideal] would be very much appreciated.
Thanks in advance, Hong.
>From: Leon Messerschmidt <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], Gary Lawrence Murphy
><[EMAIL PROTECTED]>
>Subject: Re: Conceptual leap needed: How do I jump into Xslt services?
>Date: Wed, 13 Jun 2001 08:54:37 +0200
>
>Hi Gary,
>
>The XSLTService takes XML input and transforms it with an XSL stylesheet
>placed in the directory that you specify in the TR.properties. It only
>exposes a transform() method, which you use to do the transformation.
>
>The VelocityXslLayout assumes that your Velocity Layout/Screen/Navigations
>are XML templates instead of HTML templates. So the
>Layout/Screen/Navigations work exactly the same as in HTML, but before the
>result is sent of to the user an XSL transformation is done on the content.
>VelocityXslLayout also assumes that you have correctly set up XSLTService.
>
>If you need to sometimes do a transformation and not on others, you need to
>tell a screen which layout to use. You can use setLayout to make it use
>the
>VelocityXslLayout when you need transform. You can also implement your own
>layout class and let this class decide when to do a transform and when not.
>
>~ Leon
>
>p.s. Remember to turn on XSLT caching in your TR.properties for production,
>otherwise you're site is going to be SLLOOOOWWWWWW.
>
> >
> > The xdocs say to look at VelocityXslLayout.java for usage examples,
> > but the source file only tells how to enable the service in the
>tr.props;
> > where can I learn how to actually invoke the service?
> >
> > What I'd want is to have my new DefaultLayout detect that the request
> > really wants an XML doc, and have it setLayout (or setLayoutTemplate?)
> > to the XML case, but what happens next?
> >
> > --
> > Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
> > Business Innovations Through Open Source Systems: http://www.teledyn.com
> > "Computers are useless. They can only give you answers."(Pablo Picasso)
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]