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

RE: generating a repeatable unique id

Subject: RE: generating a repeatable unique id
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 30 Jul 2001 09:07:43 +0100
generating unique id numbers
> Ouch! Looks like I've got the wrong end of yet another stick. I know
> that different XSLT processors aren't obliged (or even
> likely) to return
> the same value for generate-id called on a given node, but is
> it in fact
> permissible for the same processor to return a different generated id
> for the same node on different runs?

Yes, it's certainly allowed.

Saxon's generated ID is in two parts, document number and node-number within
document.
Releases of Saxon before 6.4 produced a document number that represented the
number of documents loaded since the Saxon software was loaded. More recent
releases use a document number that represents the number of documents
instantiated using one transformation. So it's more repeatable now than it
used to be, but there's still no guarantee of repeatability and you
shouldn't rely on it.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.