Subject: Re: Testing by counting or positional predicate
From: "Daniel Bowen" <dbowen2@xxxxxxxxx>
Date: Thu, 11 Jan 2001 10:38:26 -0700
|
> <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
|