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: Testing by counting or positional predicate


>   <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


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