[xsl] Re: Creating an array

Subject: [xsl] Re: Creating an array
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 26 May 2003 21:21:12 -0700 (PDT)
Alan Gardner <scipiomedia@xxxxxxxxxxx> wrote:

> I'm trying to create the ability to select nodes at random (easy enough),
> however I'm getting duplicates. I've tried to create a string (an array if
> you will) of numbers that I generated that I can check each time I loop
> through the nodes, but if it is possible, it's outside of my current xsl
> understanding.
> 
> 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:

http://sources.redhat.com/ml/xsl-list/2002-05/msg00182.html





=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread