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 in xsl stylesheet
Date Tue, 15 Apr 2003 09:07:28 GMT
Hello Lionel,

that's not possible. You have to generate the XSP dynamically and run it as 
serverpage:

<map:match pattern="html">
   <map:generate type="serverpages" src="cocoon:/dynamicxsp"/>
   <map:transform src="data2html.xsl"/>
   <map:serialize type="html"/>
</map:match>

<map:match pattern="dynamicxsp">
   <map:generate src="anysrc.xml"/>
   <map:transform src="anysrc2xsp.xsl"/>
   <map:serialize type="xml"/>
</map:match>

Regards,

Joerg

Lionel Crine wrote:
> Hi,
> 
> If I put some xsp code into an xsl document.
> 
> Should I only declare <xsl:stylesheet> as main element ?
> 
> Then in the pipeline, sould I use the "xslt" transformer ?
> How can the xslt transformer can understand the xsp tags?
> 
> Lionel

-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


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