xsl-list
[Top] [All Lists]

Re: Creating an array

2003-05-26 21:21:12
Alan Gardner <scipiomedia(_at_)hotmail(_dot_)com> 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



<Prev in Thread] Current Thread [Next in Thread>