xsl-list
[Top] [All Lists]

Re: [xsl] Random UUID in pure XSLT?

2020-11-10 13:14:32
On Tue, 2020-11-10 at 16:37 +0000, Piez, Wendell A. (Fed)
wendell(_dot_)piez(_at_)nist(_dot_)gov 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/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>