[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Excluding matches - still having problems

Subject: Re: Excluding matches - still having problems
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 30 Jun 2003 21:09:42 +0100
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"/>

which means your position()=last() test is doing the wrong thing (as you

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)]"/>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.