[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Re: Re: Selecting a random node from source-tr
> Something necessary to note: ***One single*** number is never random. > > Random by definition applies to ***distribution*** -- that is an > infinite sequence which (in this case) is uniformly distributed. > > In case you're looking only for a single number, you can pick whatever > you need from your environment and it would do. I am aware that I was implying that "you know what I mean". On other lists I felt that a scientific view of math stuff was rather not welcome. I am new to this list as of today. > As for the inability to use the "heavy" FXSL, well let me expose one > more myth about FXSL, this is only seemingly so. It's true the library > is rich and powerful. However, its dependency relations are quite > simple and break down into small sets of interdependent templates. > > In the case of using random.xsl, only the following four stylesheet > modules are part of the total import hierarchy and will have to be > provided: > > - random.xsl > > - map.xsl > > - curry.xsl > > - iter.xsl > > Using only the randNext template doesn't actually require any of the > above imports... I get the idea -- Thanks! I'll see if I can use that in my stylesheet. Martin Lormes 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
|