xsl-list
[Top] [All Lists]

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

2010-03-03 02:20:30
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--