cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [C2] Using XSP inside XSL
Date Thu, 12 Jul 2001 14:05:46 GMT
Hi,

with the beta2 of cocoon2 which will be available in some weeks,
this should be possible by using the new cocoon: protocol:

You can refer to the stylesheet with the following line:
  <map:transform src="cocoon:/test.xsl"/>

The cocoon: protocol loads a pipeline from the sitemap.

(You could also test this right now with the current cvs
version of cocoon2)


Carsten

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: cziegeler@sundn.de
================================================================

> -----Urspr√ľngliche Nachricht-----
> Von: C. Gaffga [mailto:cgaffga@triplemind.com]
> Gesendet: Donnerstag, 12. Juli 2001 15:20
> An: cocoon-users@xml.apache.org
> Betreff: Re: [C2] Using XSP inside XSL
>
>
> Oh, I forgot to say that it is very importent for us
> to use the same request (inc. Parameters, etc...)
> in the stylesheet generating XSP, that is not possible
> with the solution below.
>
> Christoph Gaffga
>
>
> ----- Original Message -----
> From: "C. Gaffga" <cgaffga@triplemind.com>
> To: <cocoon-users@xml.apache.org>
> Sent: Thursday, July 12, 2001 1:50 PM
> Subject: [C2] Using XSP inside XSL
>
>
> > Why can't I use dynamicly generated Stylesheets in Cocoon 2.
> > I tryed with the following configuration (sitemap):
> >
> > <map:match pattern="test.xsl">
> >   <map:generate type="serverpages" src="test-stylesheet.xsp"/>
> >   <map:serialize type="xml"/>
> > </map:match>
> >
> > <map:match pattern="test.html">
> >   <map:generate type="serverpages" src="test.xsp"/>
> >   <map:transform src="test.xsl"/>
> >   <map:serialize/>
> > </map:match>
> >
> > But I got a File not Found exception.
> >
> > Will this be fixed? Will this feature (using pipelines) be integrated in
> > a future Version of C2?
> >
> > When I use a URL with transform:
> >   <map:transform src="http://myserver:8080/myapp/test.xsl"/>
> > it works, of course, but this, I think, will bring
> > a lack of performence.
> >
> > Christoph Gaffga
> >
> >
> > ---------------------------------------------------------------------
> > 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>
> >
>
>
> ---------------------------------------------------------------------
> 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>
>


---------------------------------------------------------------------
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