RE: [xsl] Random Number Gen

Subject: RE: [xsl] Random Number Gen
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 3 May 2001 15:06:53 +0100
If you're using a Java processor, something like

<xsl:variable name="rnd" select="math:random()"
xmlns:math="java:java.lang.Math"/>

Details vary slightly depending on the processor.

Mike Kay
Software AG

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of 
> Steve Renshaw
> Sent: 03 May 2001 12:14
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Random Number Gen
> 
> 
> How do yuo generate a random number. most algs require 
> integers and modulo 
> arithmetic - everything is a double in xslt>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread