This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: radio button default


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@mulberrytech.com 
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]