xslt - xsl modulus issue not displaying html inside for each if clauses -
here's code:
<xsl:for-each select="/*/articles/article"> <xsl:if test="(pos() mod 5)"> // display html here </xsl:if> </xsl:for-each>
doesn't seem work. page hangs. not quite sure whats wrong
xpath defines function named position()
not 1 named pos()
.
Comments
Post a Comment