|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Excluding matches - still having problems
you are selecting all rows
<xsl:apply-templates select="xml/rs:data/z:row"/>
and then doingnothing sometimes
<xsl:template match="z:row">
<xsl:if test="not($excludes/ID=@submitid)">
<xsl:call-template name="addval"/>
</xsl:if>
</xsl:template>
which means your position()=last() test is doing the wrong thing (as you
said)
so instead, just select the rows you want so position() is only counting
the rows you are interested in.
<xsl:apply-templates select="xml/rs:data/z:row[not($exculdes/ID=@submitid)]"/>
...
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








