[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Random UUID in pure XSLT?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|