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 Use xslt2.0
Date Thu, 07 Dec 2006 17:56:31 GMT
Hi all,

Thanx for anwsered previous post (do we have to post to just say 'thank 
you' ??!! ;-) )

My question is about the use of XSLT Transformer.

I'd like to compare date, and xslt2.0 seems to have better function like 
using the minus operator as follows:

<date1>2005-04-05</date1>
<date2>2005-04-11T22:21:30</date2>

 xs:dateTime(date2) - xs:dateTime(xs:date(date1))

When i use it, exception is raised :
java.lang.NoSuchMethodException: For extension function, could not find 
method java.lang.String.dateTime([ExpressionContext,] ).

So, how can i usr a xslt Transformer which support xs function.
Where can i set this ? cocoon.xconf ?
I use cocoon 2.1.9


Thanx,

Sénastien


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


Mime
View raw message