[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

Subject: Re: Re: Re: Re: Selecting a random node from source-tree
From: "Martin Lormes" <martin.lormes@xxxxxxx>
Date: Thu, 26 Sep 2002 22:44:22 +0200
random xsl
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.