Re: [xsl] Math "functions" for XSLT 1.0

Subject: Re: [xsl] Math "functions" for XSLT 1.0
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Wed, 03 Mar 2010 08:18:39 +0000
On 03/03/10 07:18, COUTHURES Alain wrote:
Hello,

As you know, XSLT 1.0 and XPath 1.0 are now widely supported.

Unfortunately, XPath 1.0 doesn't come with mathematical functions such
as "sqrt", "sin", "cos", "ln",... XPath 2.1 surely will but we'll have
to wait to see it available in every environment.

You can have a look at http://www.agencexml.com/math/math.xml and
http://www.agencexml.com/math/math.xsl

As you can see, it's fast and precise.

Best regards,

Alain Couthures


Alain, have you seen Dimitres work?
http://fxsl.sourceforge.net/articles/xslCalculator/The%20FXSL%20Calculator.html


Wholly XSLT based.




regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread