[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: String hashing code

Subject: Re: String hashing code
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 14 Dec 2007 16:30:55 +0100
Re:  String hashing code
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.