Subject: RE: [xsl] exslt random:random-sequence() and Math:random() From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 18 Mar 2010 20:17:11 -0000 |
> So can I somehow use generate-id() to get all numeric unique > random ids for a node? So long as you don't really care about randomness, and are using the word simply to mean "unpredictable", then you could try string-join(for $i in string-to-unicode(generate-id()) return format-number($i, '000'), '') Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] exslt random:random-seque, a kusa | Thread | Re: [xsl] exslt random:random-seque, Dimitre Novatchev |
Re: [xsl] exslt random:random-seque, a kusa | Date | Re: [xsl] exslt random:random-seque, Dimitre Novatchev |
Month |