title: XSLT How to do a classic for x to y loop?
body: <p>I need to do a classic for i=0 to N loop, how can it be done in xstl 1.0?</p>
  
  <p>thanks.</p>
  
  <pre><code>&lt;xsl:for-each select="¿¿¿$i=0..5???"&gt;
      &lt;fo:block&gt;
          &lt;xsl:value-of select="$i"/&gt;
      &lt;/fo:block&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>To give an example, I have </p>
  
  <pre><code>&lt;foo&gt;
      &lt;bar&gt;Hey!&lt;/bar&gt;
  &lt;/foo&gt;
  </code></pre>
  
  <p>And want an output of </p>
  
  <pre><code>Hey!
  Hey!
  </code></pre>