This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Testing by counting or positional predicate
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Testing by counting or positional predicate
- From: "Daniel Bowen" <dbowen2 at qwest dot net>
- Date: Thu, 11 Jan 2001 10:38:26 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <xsl:key
> name="key-texture"
> match="Texture[0=count(preceding-sibling::Texture[1])]"
> use="concat(@texture, ':', @u, ':', @v)" />
> <xsl:variable
> name="primary-textures"
>
>
select="//Texture[0=count(preceding-sibling::Texture[1])][count(.|key('key-t
> exture', concat(@texture, ':', @u, ':', @v))[1])]" />
I meant [1=count(.|key...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list