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

Built-in support for math:power is available in the following XSLT processors:

ProcessorProcessor VersionImplemented Version
4XSLT, from 4Suite.0.12.0a31
libxslt from Daniel Veillard et al.1.0.191

The following implementations of math:power are available:

LanguageImplemented VersionCreatorDateDownload
XSLT Template1Jeni Tennison2001-05-22math.power.template.xsl
Msxsl1Jeni 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.
VersionModifiedByDetails
1.12002-08-21Craig Stewart

Added 4XSLT and libxslt implementation to the list.

1.22002-11-12Craig Stewart

Updated 4XSLT version to 0.12.0a3.

1.32003-03-03Craig Stewart

Fixed a bug in the implementations, MSXSL is now correctly listed as the langauge used by math.power.msxsl.xsl

http://www.exslt.org/math/functions/power/math.power.html last modified 2003-03-03