cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Geindre <sebastien.gein...@meteo.fr>
Subject Re: XSLT Transformation error in C2.2
Date Tue, 11 Sep 2007 11:29:14 GMT
Askild Aaberg Olsen a écrit :
> Sébastien Geindre wrote:
>> Hi all,
>>
>> I use C2.2.
>> I try to do this in a xslt stylesheet :
>>     <xsl:variable name="top" select="if(($type='cb') and 
>> ($typeName!='wims:statusweatherproduct')) then 'max_fub' else 
>> 'top'"></xsl:variable>
>>
>> but cocoon refuses, and says :
>> Caused by: javax.xml.transform.TransformerException: Impossible de 
>> trouver la fonction : if
>>        at 
>> org.apache.xpath.compiler.XPathParser.error(XPathParser.java:608)
>>
>> it works with C2.1
>>
> Maybe you have Saxon configured in C2.1, but not in C2.2?
That's it !
>
> Askild
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


-- 
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message