This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xsl:sort with a randomize ability ? or something


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]