Joerg Heinicke wrote:
On 25.06.2004 17:47, Michał wrote:
I'm trying to use 'abs' function in my XSL Stylesheet to get absolute value
of a number, but Cocoon2 says that this function doesn't exist. What's more,
'floor', 'ceiling' and 'round' are working fine but 'min' and 'max' aren't,
just like 'abs'. These functions exist in the XSL specification, but maybe
Cocoon just doesn't support them? Anyway, I'd really love to get this
absolute value :)
You must have read another spec than me ;-) There are no such questions in XSL.
...or maybe you refer to XPath 1.0 and Michal to XPath 2.0 ;)
Anyway, Xalan 2.6.0 supports XPath 1.0 only, then "abs" is out of the question in the default Cocoon configuration.
On the other hand, Michal may try using Saxon as the XSLT processor of Cocoon, since Saxon *should* use XPath 2.0
Regards,
---------------------------
Luca Morandini
[EMAIL PROTECTED]
http://www.lucamorandini.it
---------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
