xsl-list
[Top] [All Lists]

Re: Re: Creating an array

2003-05-27 12:06:48
On 5/26/03 10:21 PM, "Dimitre Novatchev" <dnovatchev(_at_)yahoo(_dot_)com> 
wrote:

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

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.

Alan


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