This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Random Number Gen


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@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of 
> Steve Renshaw
> Sent: 03 May 2001 12:14
> To: xsl-list@lists.mulberrytech.com
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]