EXSLT - Math - Implementer Page

Version: 1
User Page: index.html
XML Definition: math.xml
Module Package: math.zip

EXSLT - Math covers extension elements and functions that provide facilities to do with maths.

The extension elements and functions defined within this document are governed by the general rules about extensions to XSLT covered in [14. Extensions] in [XSLT 1.0].

XSLT processors are free to support any number of the extension elements and functions described in this document. However, an XSLT processor must not claim to support EXSLT - Math unless all the core extensions described within this document are implemented by the processor. An implementation of an extension element or function in an EXSLT namespace must conform to the behaviour described in this document.

Using EXSLT will only make your stylesheet portable amongst the implementations that support EXSLT. Note that there is no requirement for XSLT processors that are compliant to XSLT to support the extensions described within EXSLT.


The namespace for EXSLT - Math is:


Throughout this document, the prefix math is used to refer to this namespace. Any other prefix can be used within a particular stylesheet (though a prefix must be specified to enable the extension functions to be recognised as extensions).


Core Functions

The following extension functions are considered stable and are core to EXSLT - Math. Processors that claim support of EXSLT - Math must support these functions.

math:min1stablenumber math:min(node-set)math.min.zip
math:max1stablenumber math:max(node-set)math.max.zip
math:highest1stablenode-set math:highest(node-set)math.highest.zip
math:lowest1stablenode-set math:lowest(node-set)math.lowest.zip
* old version of function

Other Functions

The following extension functions are not considered stable and are not part of the core of EXSLT - Math. Processors that claim support of EXSLT - Math might not support these functions.

math:abs1implementednumber math:abs(number)math.abs.zip
math:sqrt1implementednumber math:sqrt(number)math.sqrt.zip
math:power1implementednumber math:power(number, number)math.power.zip
math:constant1implementednumber math:constant(string, number)math.constant.zip
math:log1implementednumber math:log(number)math.log.zip
math:random1implementednumber math:random()math.random.zip
math:sin1implementednumber math:sin(number)math.sin.zip
math:cos1implementednumber math:cos(number)math.cos.zip
math:tan1implementednumber math:tan(number)math.tan.zip
math:asin1implementednumber math:asin(number)math.asin.zip
math:acos1implementednumber math:acos(number)math.acos.zip
math:atan1implementednumber math:atan(number)math.atan.zip
math:atan21implementednumber math:atan2(number, number)math.atan2.zip
math:exp1implementednumber math:exp(number)math.exp.zip
* old version of function

Change History

Submitted: 2001-03-28
Creator: Jeni Tennison

A module of mathematical functions.

1.12001-05-22Jeni Tennison

Added math:min, math:max, math:lowest, and math:highest to the core.

http://www.exslt.org/math/math.html last modified 2001-05-22