RE: [xsl] input type radio checked

Subject: RE: [xsl] input type radio checked
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 4 Mar 2003 09:34:46 +0200
Hi

> <xsl:for-each select="registro">
> <input type="radio" name="votacionvalor" value="{valorrespuesta}">

    <xsl:if test="position() = 1">
      <xsl:attribute name="checked">checked</xsl:attribute>
    </xsl:if>
   </input>

> <xsl:value-of select="respuesta"/><br />
> </xsl:for-each>
> 
> in this method i load 25 input radio type.
> how can i always the fist radio put in checked mode?
> (<input type="radio" name="votacionvalor" value="{valorrespuesta}"
> checked="checked"  />)
> only in the fist radio.
> is posible?
> how?
> thanks

Cheers,

Jarno - Neurotic Fish: Wake Me Up

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread