xsl-list
[Top] [All Lists]

Re: [xsl] RandomList.xsl from FXSL-xslt2

2009-10-02 10:47:44
In random.xsl, I guess we should do the following

  <!--<xsl:variable name="seed"       select="17489"/>-->
  <xsl:variable name="seed" select="format-time(current-time(), '[f][s]')"/>
  <xsl:variable name="multiplier" select="25173"/>
  <xsl:variable name="increment"  select="13849"/>
  <xsl:variable name="modulus"    select="65536"/>

Would it be even better also to change the variables "multiplier",
"increment" and "modulus".

Why don't we just change the variables for good, and ship them with
format-time(current-time(), '[f][s]')? Saving the users a lot of
trouble and questions?

Cheers,
Jesper

--~------------------------------------------------------------------
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>
--~--