[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Conflicting Node Values


Subject: Re: Conflicting Node Values
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 May 2000 16:40:55 +0100 (BST)

Jeni Tennison writes:
 > > <xsl:if test="count(.|../ALIAS[1])=1">
 > >
 > >as Mike Kay has taught us to say in our prayers?
 > 
 > Neat (though somewhat obscure!)

a bit. but I think its less obscure than the generated-id system in
some ways

 >  Might there be advantages (aside from
 > brevity) with using the same technique for testing for the first in a keyed
 > group using the Muenchian grouping method? 

yes, Mike says he thinks it will be a bit faster

 > //tracker-id[count(.|key('tid',.)[1])=1]

precisely. 

sebastian


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



Current Thread