AW: radio button default

Subject: AW: radio button default
From: "Simon Polz" <Simon.Polz@xxxxxxxxx>
Date: Thu, 28 Sep 2000 13:23:40 +0200
set the attribute checked="checked" which will be transformed by your stylesheet processor (if your output method is set to html in your stylesheet and the processor supports the html output method type) to <... checked>

see http://thinkevolution.com/msxmlfaq.htm#Q003 for a small sample (the sample is for the tag <option selected> but it's the same philosophy)

simon

-----Ursprüngliche Nachricht----- 
Von: D. Bennion 
Gesendet: Mi 27.09.2000 23:23 
An: XSL-List@xxxxxxxxxxxxxxxx 
Cc: 
Betreff: radio button default


I have searched for this topic everywhere and can't
find anything. Does anyone know how to set a radio
button to default in xsl/html?

Right now I have this:
yes<input type="radio" name="KeyActivity"
value="1"><xsl:attribute
name="value"><xsl:apply-templates
select="key-activity"/></xsl:attribute></input>
                                No<input type="radio" name="KeyActivity"
value="0"><xsl:attribute
name="value"><xsl:apply-templates
select="key-activity"/></xsl:attribute></input></td>

I tried checked after value but it wouldn't process.
An error occurred.

Any ideas?


thanks.

dave



__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


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


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


Current Thread