View Single Post
  #2 (permalink)  
Old February 16th, 2007, 08:16 AM
bonekrusher bonekrusher is offline
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Sometime I use a variable & MOD:

Code:
 

<xsl:for-each select="catalog/cd">
<xsl:variable name="pos" select="position()"/>
     <xsl:if $pos mod 10 = 1>
.......
This is not tested. let me know how it works out.
Reply With Quote