xsl-list
[Top] [All Lists]

Re: xsl checkbox

2004-03-17 06:24:13
Hi,

>  <input type="type" name="name" value="value">

should be:

<input type="{type}" name="{name}" value="{value}"/>

or

<input>
  <xsl:attribute name="type">
    <xsl:value-of select="type"/>
  </xsl:attribute>
  <xsl:attribute name="name">
    <xsl:value-of select="name"/>
  </xsl:attribute>
  <xsl:attribute name="value">
    <xsl:value-of select="value"/>
  </xsl:attribute>
</input>

or

<xsl:element name="input">
  <xsl:attribute name="type">
    <xsl:value-of select="type"/>
  </xsl:attribute>
  <xsl:attribute name="name">
    <xsl:value-of select="name"/>
  </xsl:attribute>
  <xsl:attribute name="value">
    <xsl:value-of select="value"/>
  </xsl:attribute>
</xsl:element>

Best Regards,
 George
-----------------------------------------------
George Cristian Bina
<oXygen/> XML Editor - http://www.oxygenxml.com

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



<Prev in Thread] Current Thread [Next in Thread>