Re: Conflicting Node Values

Subject: Re: Conflicting Node Values
From: Jeni Tennison <Jeni.Tennison@xxxxxxxxxxxxxxxx>
Date: Thu, 25 May 2000 16:06:57 +0100
Sebastian Rahtz wrote:
>Jeni Tennison writes:
> > 
> > <xsl:if test="generate-id(.) = generate-id(../ALIAS[1])">...</xsl:if>
> > 
> <xsl:if test="count(.|../ALIAS[1])=1">
>as Mike Kay has taught us to say in our prayers?

Neat (though somewhat obscure!).  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? i.e. instead of:




Just a thought.



Dr Jeni Tennison
Epistemics Ltd, Strelley Hall, Nottingham, NG8 6PE
Telephone 0115 9061301 ? Fax 0115 9061304 ? Email

 XSL-List info and archive:

Current Thread