This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: generating a repeatable unique id
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] generating a repeatable unique id
- From: "Sebastian Rahtz" <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Sun, 29 Jul 2001 21:27:22 +0100
- References: <OF8EAAB3F8.1337F6CF-ONC6256A98.0034B84D@novosoft.ru>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Alexander Gutman writes:
> You may add "id" attributes to your div's (e.g., via generate-id)
> during the first transformation and then use them in subsequent
> transformations.
The cost of two transformations each time a document is requested from
my web site seems excessive :-} ... and I'd not want the web server to
rewrite files back on disk. I guess a check and possible
transformation before a document is allowed onto the web site would be
plausible.
> Another approach concerns implementing a custom extension function
> wich does the work (this can be less costly than a purely XSLT solution).
that is actually more attractive, I confess
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list