There are server-side XSLT engines (LotusXSL at alphaworks, XALAN at apache,
XT ) available that you can incorporate into a servlet.
This servlet could take your XML output (from a JSP) and apply the
transformations encoded in a designated XSL file and deliver the
(presumably) HTML result to the client browser.
The problem of transfering control from the JSP (i.e. the servlet
representing this JSP) to the XSL servlet can be handled by
servlet-chaining - a technique that allows you to direct the output of one
servlet to another according to the mime-type of the output. This feature is
definitely available in JRun but I do not know about support in other
containers. You need to make sure you set the mime-type of the JSP output to
whatever you setup in the servlet-chain configuration (probably text/xml).
I find it easiest to specify the XSL file to use in the actual XML itself.
If you are just doing a standard HTML transform though this is probably done
in one standard XSL that you can identify in an initialization property.
As for browser support, NS6PR1 uses CSS NOT XSL - fine for very rudimentary
formatting but not what I consider industrial strength.
Regards
@
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets