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

Reply via email to