Re: Apply Template based on position or count2004-02-06 15:34:06<xsl:for-each select="xml/rs:data/z:row"> <xsl:if test="position() mod 2 = 1"> <xsl:if test="."> That last xsl:if is not testing anything it will always be true. A node set in a boolean context is true if it is non empty and the node set selected by . always has size one so is never empty. David -- http://www.dcarlisle.demon.co.uk/matthew XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|