Re: [xsl] xsl checkbox

Subject: Re: [xsl] xsl checkbox
From: George Cristian Bina <george@xxxxxxx>
Date: Wed, 17 Mar 2004 15:24:13 +0200
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


Current Thread