cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: [XSP] <?cocoon-process type="xsp"?>
Date Sun, 13 Apr 2003 11:44:41 GMT
Hello Frans,

Processing instructions are no longer important in Cocoon 2. You have to 
set up a pipeline in the sitemap correctly 
(http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html).

Example:

<map:match pattern="main.html">
   <map:generate type="serverpages" src="cocoon:/mainxsp"/>
   <map:transform src="xsp2html.xsl"/>
   <map:serialize type="html"/>
</map:match>

<map:match pattern="mainxsp">
   <map:generate type="serverpages" src="myxsp.xsp"/>
   <map:transform src="xsp2mainxsp.xsl"/>
   <map:serialize type="xml"/>
</map:match>

Regards,

Joerg
Frans Thamura wrote:
> What is the syntact for cocoon 2 to implement <?cocoon-process type="xsp"?>
> 
> that the syntax from cocoon 1, so the output of transformed xsp + xsl 
> will become another XSP
> 
> *Frans Thamura


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