title: dynamically iterate xsl value
body: <p>I have following <code>xsl</code> code. </p>
  
  <pre><code>&lt;xsl:for-each select="value"&gt;   
  &lt;xsl:if test="../@field_value=@value"&gt;
  &lt;input type="radio" id="{$fname}{position()}" name="{$fname}" value="{@value}" /&gt;&lt;xsl:value-of select="@value"/&gt;&lt;br/&gt;                                       
  &lt;/xsl:if&gt;                       
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>What I want is to show dynamic no of radio buttons with values. There are three values, so the for loop is running for three times. Also it is printing three times the last value.
  E.g. the three values are:</p>
  
  <ul>
  <li>The code</li>
  <li>The alfa code</li>
  <li>The numeric code</li>
  </ul>
  
  <p>Each time I run the code, three radio buttons with text <strong>The numeric Code</strong> are shown. How can I show the three different values with three radio buttons?</p>