Modules | Version: 1 Function Syntaxnumber+ random:random-sequence(number?, number?) The random:random-sequence function returns a sequence of random numbers between 0 and 1. function usage <xsl:call-template name="random:random-sequence"> <xsl:with-param name="numberOfItems" select="number" /> <xsl:with-param name="seed" select="number" /> </xsl:call-template> You may supply the function with an arguement that defines the number of random numbers to generate, with the default value of 1. A seed number maybe provided to the function, with a default value directly related to the current time. An implementation of this extension function in the EXSLT random namespace must conform to the behaviour described in this document. Change HistorySubmitted: 2003-10-10 |
http://www.exslt.org/random/functions/random-sequence/random.random-sequence.1.html last modified 2003-10-10