Jeffrey:
I also implemented a portlet using XSLT. I had a look at the XSL demo
portlet and modified it a little bit. Now I am using the XSL transformation
inside of a VM portlet.
XML ---t1---> VM ---t2---> HTML
It works quite well. Where is your problem?
I have only one problem:
I have to save the vm-file which is the result of the first transformation
(t1) in a file because the second transformation (t2) has only
transformation methods that accept filenames as parameter. Does anybody know
a better way to do this?
Transformations:
t1: String = org.apache.jetspeed.util.SimpleTransform.transform(
org.w3c.dom.Document d, String url);
t2: String =
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(
org.apache.velocity.context.Context c, String templateFile );
best regards
Matthias Wimmer
-----Original Message-----
From: Glen Carl - CSC [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 2:18 PM
To: Jetspeed Users List
Subject: Re: using xsl in jsp portlet
Did you try transforming the XML/XSL to html first, and then inserting
this html into the JSP? Check out XSLPortlet for a start on the transform.
Jeffrey Owens wrote:
> I am accessing a java class on another server and returning xml. I want to
use xsl to transform xml into html, but I cant' get jsp to recognize
stylesheet, within the jsp or the xreg file. I'm probably going at this
backward and need to reengineer my whole approach, but if anyone has any
ideas I'd appreciate comment.
>
>
>
>
> Jeffrey Owens
>
>
> ---------------------------------
> Do You Yahoo!?
> Sign-up for Video Highlights of 2002 FIFA World Cup
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>