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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -