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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] random number generator in xs, sudheshna iyer | Thread | [xsl] In the xquery, how do i acces, sudheshna iyer |
[xsl] random number generator in xs, sudheshna iyer | Date | [xsl] In the xquery, how do i acces, sudheshna iyer |
Month |