[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Random number seed generation


Subject: Re: [xsl] Random number seed generation
From: TW <zupftom@xxxxxxxxxxxxxx>
Date: Fri, 10 Dec 2010 00:42:16 +0100

2010/12/10 TW <zupftom@xxxxxxxxxxxxxx>:
> I don't know whether this would give reasonably results, but what
> about generating a seed from the result of generate-id()?  Maybe like
> so, calculating kind of a digit sum (based on the the order the
> variables occur in "name-chars"):
>

Sorry, please read this as:

I don't know whether this would give *reasonable* results, but what
about generating a seed from the result of generate-id()?  Maybe like
so, calculating kind of a digit sum (based on the order the
*characters* occur in *the variable* "name-chars"):


Current Thread