[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RandomList.xsl from FXSL-xslt2

Subject: Re: RandomList.xsl from FXSL-xslt2
From: Jesper Tverskov <jesper.tverskov@xxxxxxxxx>
Date: Fri, 2 Oct 2009 16:47:16 +0200
Re:  RandomList.xsl from FXSL-xslt2
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.