EXSLT - math:power - Implementer Page

Version: 1
Status: implemented
User Page: index.html
XML Definition: math.power.xml
Function Package: math.power.zip

Function Syntax

number math:power(number, number)

Template Syntax

<xsl:call-template name="math:power">
   <xsl:with-param name="base" select="number" />
   <xsl:with-param name="power" select="number" />
</xsl:call-template>

The math:power function returns the value of a base expression taken to a specified power.

An implementation of this extension function in the EXSLT math namespace must conform to the behaviour described in this document.

Implementations

No XSLT processors that we know of have built-in support for math:power.

The following implementations of math:power are available:

LanguageImplemented VersionCreatorDateDownload
XSLT Template1Jeni Tennison2001-05-22math.power.msxsl.xsl
Javascript1Jeni Tennison2001-05-22math.power.js
Exsl1Jeni Tennison2001-05-22math.power.function.xsl

Change History

Submitted: 2001-05-22
Creator: Jeni Tennison(http://www.jenitennison.com)

Returns the result of raising a number to the power.

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