[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] square root function in XSLT 1.0

Subject: Re: [xsl] square root function in XSLT 1.0
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 30 Aug 2013 14:27:33 +0100

Many implementations support the math extensions defined at www.exslt.org. If
yours doesn't, you could:

(a) call out to another programming language (depends on the processor you are

(b) use Dimitre Novatchev's FXSL library which I believe includes an
implementation of sqrt() written in pure XSLT.

Michael Kay

On 30 Aug 2013, at 12:53, ranjith kumar wrote:

> Hi,
> I am new to XSLT and need  to compute the square root of a floating point
> number in XSLT 1.0.
> Are there any functions available in the XSLT 1.0 ?
> Otherwise, are there any libraries which the 'standard committee'
> recommends?
> If so please let me know how to import that library.
> thanks in advance.

Current Thread