Re: [xsl] RE: Muenchian technique, was (Keys on multiple element types)

Subject: Re: [xsl] RE: Muenchian technique, was (Keys on multiple element types)
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Tue, 05 Feb 2002 13:29:09 +0000
Hi David,

DPawson@xxxxxxxxxxx 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


Current Thread