|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl checkbox
Hi,
> How can i put in the value the text that are in xml?
>
> <value>5</value>
>
> If i put this: <input type="type" name="name" value="value">
> it appears value
> in the input text.
See AVTs <http://www.w3.org/TR/xslt.html#attribute-value-templates>. You want
<input type="{type}" name="{name}" value="{value}">
or you could go for something like
<input>
<xsl:for-each select="type | name | value">
<xsl:attribute name="{name()}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
</input>
if you feel giddy :)
Cheers,
Jarno - Lights Of Euphoria: True Life
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








