ciao a tutti
ho un xml con questo radio:

<field var="SCELTA" type="radio">
<txt>miascelta</txt>
<value val="1" >scelta1</value>
<value val="2" >scelta2</value>
</field>

e cerco di tradurlo con:

<xsl:when test="@type='radio'">
<tr>
<td width='100'><xsl:value-of select="txt"/></td>
<td>
<xsl:choose>
<xsl:for-each select="value">
<input type="radio">
<xsl:attribute name="name">
<xsl:value-of select="../@var"/>
</xsl:attribute>
<xsl:attribute name="value">
<xsl:value-of select="@val" />
</xsl:attribute>
<xsl:value-of select="."/>
</input>
</xsl:for-each>
...


ma non mi stampa il valore dei singoli radio (il decoded value, che io cerco con ".")

cosa sbaglio?
grazie