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 XSLT Transformation error in C2.2
Date Tue, 11 Sep 2007 08:55:07 GMT
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

Any idea ?

Thanks Grzegorz, ;-) !

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