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]

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


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


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