cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier GUCKERT <Olivier.Guck...@loria.fr>
Subject Re: Howto use a generated stylesheet
Date Tue, 01 Jul 2003 14:06:19 GMT


Olivier Billard a écrit :
> 
> Hi all !
> 
> I'm trying to use a generated stylesheet for an xsl transformer and I get this error
:
> 
> org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon:/picto-filter.xsl:
> org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform
Handler
> 
> Here is a snippet of my sitemap :
> 
> <map:match pattern="picto-filter.xsl">
>         <map:generate src="context://WEB-INF/workflow.xconf"/>
>         <map:transform src="stylesheets/picto-filter-generator.xsl"/>
>         <map:serialize type="xml"/>
> </map:match>
> 
> ...
> 
> <map:match pattern="requestlist-part">
>         ...
>         <map:transform src="cocoon:/picto-filter.xsl"/>
>         <map:serialize type="xml"/>
> </map:match>
> 
> Isn't the cocoon protocol used in transformers ??
> Am I misunderstanding some things ?
> Thanks in advance !!

Did youb try  : 
<map:transform src="cocoon:picto-filter.xsl"/>

(without the "/" before picto) ?

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