This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: RE: Muenchian technique, was (Keys on multiple element types)
- From: Francis Norton <francis at redrice dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 05 Feb 2002 13:29:09 +0000
- Subject: Re: [xsl] RE: Muenchian technique, was (Keys on multiple element types)
- References: <9B66BBD37D5DD411B8CE00508B69700FE7AB3C@pborolocal.rnib.org.uk>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi David,
DPawson@rnib.org.uk wrote:
> Jeni said:
>
>>
>> *[generate-id(.) = generate-id(key('rows', name)[1])]
>>
>
> Mike, your books states that the [1] is redundant for the Muenchian
technique,
> yet it keeps getting repeated.
>
> I haven't tested in anything like a test case, just wanted perhaps
> Jeni to confirm its habit, and not disagreement that keeps her
> using it?
>
see http://www.w3.org/TR/xslt.html#function-generate-id - "The
generate-id function returns a string that uniquely identifies *the node
in the argument node-set that is first in document order.*" (my emphasis)
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list