Re: Re: Creating an array
On 5/26/03 10:21 PM, "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> wrote: > 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 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format