xsl-list
[Top] [All Lists]

Re: [xsl] String hashing code

2007-12-14 08:31:03
Deborah Pickett wrote:
I prefer not to escape to non-XSLT, because I am providing this as part
of a library that needs to run on almost any XSLT 2.0 platform.

Any clever ideas?

A while back I posted the XSLT 2.0 code necessary to create a UUID, close enough to the thoughts behind a UUID to be reasonably globally unique (but without the network interface number etc). The idea was to create an XSLT-only and portable solution. It's a simple function that however often you call it, even within one run, without using extension functions, always produces a unique string.

One place where it is archived currently: http://www.biglist.com/lists/xsl-list/archives/200703/msg00434.html, though as almost always, the layout/indentation is broken...

HTH,
Cheers,
-- Abel Braaksma



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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