xsl-list
[Top] [All Lists]

Re: Questions regarding Styling XML/XSL with JSP

2003-06-06 21:26:57
Another option would be to use the xml tags from the JavaServer Pages Standard Tag library (JSTL). An implementation of JSTL is available from the Apache Jakarta project at http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html - this download includes all the necessary supporting jars (with xerces and xalan for parsing and transforming). An excellent article on JSTL is to be found at http://developer.java.sun.com/developer/technicalArticles/javaserverpages/faster/ which includes an example of doing an xslt transformation in a JSP page. According to this article an implementation of JSTL 1.0 is also contained in Sun ONE Studio 4. If you like sticking to standards - JSTL1.1 is to be integrated into the JSP 2.0 standard.

Grainne.

At 02:45 PM 6/6/2003 -0400, you wrote:

I think you are probably talking about Cocoon.  Cocoon works very
nicely to send XML and HTML to the browser using XSLT or create PDF using
XSL-FO and FOP.  The browser only receive HTML or any other XML format,
such as WML for wireless.

Cocoon is an Apache project and can be found at
http://cocoon.apache.org/2.0/.

I have been very impressed with Cocoon's capabilities thus far.

Betty

On Fri, 6 Jun 2003 quasar(_at_)speakeasy(_dot_)net wrote:

> Hi I am new to the JSP/XML/XSL world.  What I have is an XML file with
> some data in it (imagine that?) and an XSL style sheet I use to
> transform it into HTML.  Now this works great and all on my own machine
> with Internet Explorer.  But what I'd like to do is use a JSP page
> running on a Tomcat server (I have Sun 1 Studio installed locally) that
> can process the xml/xsl page and output it to the browser.  I have been
> reading that I may need some sort of XMl/XSL processor that plugs into
> tomcat, if that is the case where can I find it at?
>
> Also what sort of JSP code would I use to merge the two?
>
> Any help would be greatly appreciated, if I need something I haven't
> mentioned or should go about it another way please let me know..Thanks!
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>