This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: generating a repeatable unique id


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
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]