Re: [xsl] random number generator in xslt and xqeury

Subject: Re: [xsl] random number generator in xslt and xqeury
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 17 Jun 2011 14:30:26 -0700
http://fxsl.sourceforge.net/articles/Random/Casting%20the%20Dice%20with%20FXS
L-htm.htm

You need to provide the seed (such as the current time represented as
integer)  as an external parameter to the transformation, if you want
to have different random sequences on every execution.


Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.




On Fri, Jun 17, 2011 at 1:37 PM, sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
wrote:
> Team,
>
> Can anybody provide me a rangdom number generator in xquery and xslt?
>
> Thank you for your help in advance.
>
>



--

Current Thread