|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Generating form fields with xsl
I have an xml page that gets translated into a html form using my xsl
stylesheet. However when I try and create a textarea field, it doesnt
work. How does one create a <textarea name=""></textarea> equivalent in
xsl?
I tried using an input with ttype textfield and also the way below: they
dont seem to work.
<xsl:choose><xsl:when test="display='textfield'"><input type="text"
name="{name}"/></xsl:when>
<xsl:when test="display='textarea'"><textarea name="{name}"
></textarea> </xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="possibleValues">
<xsl:with-param name="typo" select="display"/>
<xsl:with-param name="multiple" select="$multiple"/>
<xsl:with-param name="label" select="name"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
|
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








