cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Servlet to XSL possible?
Date Tue, 22 Jan 2002 18:14:30 GMT
> From: Bob Garvey [mailto:bobgarvey2@home.com]
> 
> I am missing the big picture.
> I want to generate data from servlet and have that output transformed
to
> html for a response.
> I have tried combinations on the order of:
>    <map:match pattern="servlet23/*">
>      <map:generate
src="http://cb:8080/examples/servlet/servlet23.{1}"/>
>      <map:transform src="stylesheets/servlet23/{1}.xsl"/>
>      <map:serialize/>
>    </map:match>
> where {1} would be the servlet name within the servlet23 package and
would
> specify the stylesheet.
> Any quidence appreciated.

This looks Ok.

You must have servlet http://cb:8080/examples/servlet/servlet23.xxx, and
you should have an XSL file on the disk: stylesheets/servlet23/xxx.xsl,
when requesting "servlet23/xxx".

What's the problem you are experiencing?

Vadim


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message