EXSLT - math:random - Version 1

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

Function Syntax

number math:random()

The math:random function returns a random number from 0 to 1.

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:random 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:random are available:

LanguageImplemented VersionCreatorDateDownload
Msxsl1James Fuller2001-06-16math.random.msxsl.xsl
Javascript1James Fuller2001-06-16math.random.js

Change History

Submitted: 2001-06-16
Creator: James Fuller(http://www.ruminate.co.uk)

Returns a random value.
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.

http://www.exslt.org/math/functions/random/math.random.1.html last modified 2002-11-12