Re: Random UUID in pure XSLT?
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2020-11-10 at 16:37 +0000, Piez, Wendell A. (Fed) [email protected] 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, 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: http://www.fromoldbooks.org --~---------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386 or by email: [email protected] --~--