Re: [xsl] Beware the count method with Muenchian grouping (was: Testing by counting or positional predicate)

Subject: Re: [xsl] Beware the count method with Muenchian grouping (was: Testing by counting or positional predicate)
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Mon, 15 Jan 2001 11:20:17 +0000
Having slept on this, it occurs to me that the results for:

<xsl:key
  name="all-texture"
  match="Texture"
  use="concat(@texture, ':', @u, ':', @v)" />
<xsl:variable
  name="primary-textures"
  select="//Texture[count(. | (key('all-texture', concat(@texture, ':',
@u, ':', @v))[1]) = 1] [0=count(preceding-sibling::Texture[1])]" />
 
would also be interesting.

Francis.

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


Current Thread