[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: Colin Muller <colin@xxxxxxxxxxxxxx>
Date: Mon, 30 Jul 2001 14:14:45 +0800
colin muller
On Sun, Jul 29, 2001 at 09:40:18PM +0100, Sebastian Rahtz wrote:
> Colin Muller writes:
>  > Not sure how repeatable 'repeatable' needs to be, but if the document
>  > is not going to change before you get back to it with the id, you can
>  > do what I do when creating HTML forms for editing XML docs: save a
>  > temporary file in which every element gets associated with this:
> 
> Hmm, interesting idea. My real problem with that is that I am inside a
> web server at transformation time, and I dont really want it
> scribbling temporary files.

If the doc hasn't changed, you could arrive at the same count during
your XSLT processing when the later request comes in, without saving
any temp files. Thanks for making me think of this, it might simplify
my life a bit.

>Apart from anything else, it *could* be
> weeks before someone hits the link button which activates the request
> for a section. Of course, this screws me anyway, as the original
> document might have changed... oh yuck.

Yuck indeed. I don't think XSLT was really intended to be a revision
control system, and I haven't noticed an exsl:md5, either ;-)

Colin


 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.