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]
Other format: [Raw text]

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


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


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