Re: Random UUID in pure XSLT?

"Martin Honnen [email protected]" <[email protected]>
Newsgroups gmane.text.xml.xsl.general.mulberrytech
Organization Liberty Development
Message-ID <[email protected]>
On 11.11.2020 19:32, Dimitre Novatchev [email protected] wrote:
>  > how can I go about producing random UUIDs, in dozens or hundreds,
> inside an XSLT pipeline, without extension functions in Saxon.
>
> This is actually very easy and doesn't require the use of any extension
> functions:
>
> */unparsed-text("https://uuidgen.org/api/v/4
> <https://uuidgen.org/api/v/4>")/*

Nice.

   json-doc('https://uuidgen.org/api/v/4')?1

is even way cooler, these days where APIs return JSON
--~----------------------------------------------------------------
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]
--~--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.