Subject: Re: [xsl] Random UUID in pure XSLT? From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 10 Nov 2020 19:14:27 -0000 |
On Tue, 2020-11-10 at 16:37 +0000, Piez, Wendell A. (Fed) wendell.piez@xxxxxxxx wrote: > XSL Friends - > > Today I write from the day job, where I am researching the question > of how can I go about producing random UUIDs, in dozens or hundreds, > inside an XSLT pipeline, without extension functions in Saxon. Is that Saxon EE or HE? Or somewhere between :) ? There are XSLT-based random number enerators around if the Functions & Operators one using higher order functions isn't available. I think most use generate-id() as a seed, or you could pass a seed as a parameter (usually better for testing than using the time of day, for example). But i'm not sure i'm telling you anything not obvious :) -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Random UUID in pure XSLT?, Michael Kay mike@xxx | Thread | Re: [xsl] Random UUID in pure XSLT?, Dimitre Novatchev dn |
Re: [xsl] Random UUID in pure XSLT?, Michael Kay mike@xxx | Date | Re: [xsl] Random UUID in pure XSLT?, Dimitre Novatchev dn |
Month |