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: dynamic xsp compiled only once
Date Mon, 12 May 2003 23:51:19 GMT
Alexandre Victoor wrote:

> Hello,
> I need to use XSPs resulting from an XSL transformation. In my 
> company, instead of using directly XSP, we use a proprietary language 
> that we call 'aml'.
>
> AML --> XSL --> XSP --> XSL --> HTML
>
> In the sitemap, I have something like that :
>
> <map:match pattern="*.xsp">
>   <map:generate src="{1}.aml"/>
>   <map:transform src="aml2xsp.xsl"/>
>   <map:serialize type="xml"/>
> </map:match>
> <map:match pattern="*.html">
>    <map:generate src="cocoon:/{1}.xsp" type="serverpages"/>
>    <map:transform src="xsp2html.xsl"/>
>    <map:serialize type="html"/>
> </map:match>
>
> For performances issues, I would cocoon to compile once for all the 
> XSPs. Is it possible or do I need to write my own 'aml' generator ?


Yes, it is (was) possible. Unfortunately, right now cocoon protocol 
suffers from some bug so it recompiles every time. See similar sample 
at: http://localhost:8888/samples/sources/xsp-dynamic

PS This was working ok in 2.0.4

Vadim



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