That's realy nice, but I have still the Problem that the stylesheet
depends on the request parameters, but they are not available!
Is it a bug, not the way it should work or my mistake?
I did the following (from my sitemap):
<map:match pattern="test.xsl">
<map:generate type="serverpages" src="stylesheet.xsp"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="test.html">
<map:generate type="serverpages" src="page.xsp"/>
<map:transform src="cocoon://test.xsl"/>
<map:serialize type="html"/>
</map:match>
using the latest cocoon2 from the CVS.
The request parameter should be processed in stylesheet.xsp
If somebody know about that, please let me know.
Please help me, Carsten!!
Christoph Gaffga
----- Original Message -----
From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 4:05 PM
Subject: AW: [C2] Using XSP inside XSL
> 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: [EMAIL PROTECTED]
> ================================================================
>
> > -----Ursprüngliche Nachricht-----
> > Von: C. Gaffga [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 12. Juli 2001 15:20
> > An: [EMAIL PROTECTED]
> > 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" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > 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: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>