Re: [xsl] Re: Re: Creating an array

Subject: Re: [xsl] Re: Re: Creating an array
From: Alan Gardner <scipiomedia@xxxxxxxxxxx>
Date: Tue, 27 May 2003 15:57:28 -0600
On 5/27/03 2:34 PM, "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> wrote:

>>>> Is it possible to build a delimited string/array? Or does anyone have
>>>> suggestions on how to eliminate duplicates while generating random
> numbers
>>>> in the first place?
>>> Yes, see:
>> The source you pointed me has uses <xsl:import href="random.xsl"/>. Where
> is
>> this xsl document? I've very interested in testing your solution.
> I mention briefly there that this solution uses the FXSL functional
> programming library for XSLT.
> You can find a detailed explanation how the templates from the random.xsl
> module work here:
> -htm.htm
> The FXSL library can be downloaded following the "Download" link of the FXSL
> project page:

I suspected you were referencing the Cast of the Dice code. I had already
investigated it and found that it too was generating duplicate numbers. The
solution I need is a way to have random numbers but not duplicated numbers
(the randomly generated number is associated with a link - which can't be
duplicated or content on the web site will be redundant.

So I'm back at the original question - how do I track what random numbers
I've already generated so I can compare them using contains() or some string


 XSL-List info and archive:

Current Thread