This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Conflicting Node Values
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