ivelin 2002/09/26 19:52:45
Modified: src/webapp/samples/stylesheets/xmlform xmlform2html.xsl
Log:
added xf:textarea
Revision Changes Path
1.3 +7 -0
xml-cocoon2/src/webapp/samples/stylesheets/xmlform/xmlform2html.xsl
Index: xmlform2html.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/webapp/samples/stylesheets/xmlform/xmlform2html.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xmlform2html.xsl 23 Sep 2002 03:58:30 -0000 1.2
+++ xmlform2html.xsl 27 Sep 2002 02:52:45 -0000 1.3
@@ -64,6 +64,13 @@
</xsl:template>
+ <xsl:template match="xf:textarea">
+ <input name="{@ref}" type="textarea" value="{xf:value/text()}">
+ <xsl:copy-of select="@*[not(name()='ref')]"/>
+ </input>
+ </xsl:template>
+
+
<xsl:template match="xf:password">
<input name="{@ref}" type="password" value="{xf:value/text()}">
<xsl:copy-of select="@*[not(name()='ref')]"/>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]