This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:sort with a randomize ability ? or something
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: xsl:sort with a randomize ability ? or something
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 13 Nov 2000 09:50:34 -0000
- Reply-To: xsl-list at mulberrytech dot com
> Depending on the behavior of your particular processor, you might get
> good randomness from the 3-5 lowest order characters of generate-id().
In Saxon they will be highly non-random, as generate-id() is essentially a
hierarchic path: a node that is the first child of its parent will always
end in "a", the second in "b2"....
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list