xsl-list
[Top] [All Lists]

RE: [xsl] generating unique random numbers

2010-02-21 12:18:41


I have been raking my brains to achieve this. I am using 
math.random() to generate random numbers, but of course since 
they repeat, I want to be able to generate unique random 
numbers.

distinct-values(math.random())

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--