xsl-list
[Top] [All Lists]

Re: [xsl] Random number seed generation

2010-12-09 17:42:28
2010/12/10 TW <zupftom(_at_)googlemail(_dot_)com>:
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"):

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--