title: index in loop XSL
body: <p>I have two nested loop in XSL like this, at this moment I use position() but it's not what I need.</p>
  
  <pre><code>&lt;xsl:for-each select="abc"&gt;
    &lt;xsl:for-each select="def"&gt;
     I wanna my variable in here increasing fluently 1,2,3,4,5.....n
  not like 1,2,3,1,2,3
    &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>Can you give me some idea for this stub. Thank you very much!</p>