Re: [xsl] generating a repeatable unique id

Subject: Re: [xsl] generating a repeatable unique id
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Sun, 29 Jul 2001 22:44:05 +0100
On Sunday, July 29, 2001 9:35 PM
Sebastian Rahtz wrote:

> Michael Beddow writes:
>  > Actually, reflecting on what Alexander says, I suppose that's the
>  > answer: do a first pass through, doing nothing but assign id's via
>  > generate-id() as required, and treat the result as the input for
all the
>  > other transformations. Now I can enjoy the sunshine again.
> I am not so sure. If you don't write the transformed result back to
> disk, its surely an unncessary processing cost? and if you do save the
> result, the ids are gibberish for subsequent editors

What I was thinking of was doing this on the xml source when I first
receive it (if/when it doesn't already contain the id's on the elements
I want id's in the transformed output). This would meet my purposes,
though I see on re-reading your post more carefully it wouldn't address
the specific problem you have.

Michael Beddow
XML and the Humanities page:

 XSL-List info and archive:

Current Thread