I have a need to select every second element within a <Row> until there are none left and then move on to the next <Row>.
I am using a template to increment a value that is passed into a SELECT, but there does not seem to be a way to pass a changeable value (that represents a Node) into a SELECT. Does anyone have any ideas? Here is my cutdown stylesheet:
<xsl:value-of select="$heading"/> <!-- An IF statement would be better, but can't seem to pass in a Node using parameter value for this either -->
<xsl:call-template name="Body"/>
<xsl:with-param name="value" select="$value + 2"/>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>