title: XSL:FO for-each creating fixed size loops
body: <p>lets say we have a list of values f.e. 99 values and we hate to go through them using for-each four times taking 30 values each time and then operating with those values.</p>
  
  <pre><code>&lt;xsl:template name="30valuestemplate"&gt;   
  &lt;xsl:for-each select="values"&gt;  
  
     ...
  
  &lt;/xsl:for-each&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>so how to call this template 4 times that it would only take 30 values each time, use a counter perhaps?</p>