Subject: Re: key(), generate-id question
From: "Endre Magyari" <endre@xxxxxxxxx>
Date: Sun, 10 Nov 2002 19:40:26 +0200
|
Dear Eliot,
Thank you for your reply.
> You can't control how generate-id() works, but you could do something
> like write a named template that will generate the ID. For example, you
> could count the number of preceding elements that don't have an _ID
> attribute and then add that value to the numeric part of the nearest
> preceding element that *does* have an _ID attribute. All doable with
> normal XSLT functions.
If you could pseudocode this a little bit, that would be very helpfull.
I just have 3 days experience with XSLT.
Thanks,
Endre
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|