You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by br...@apache.org on 2003/08/12 14:57:18 UTC
cvs commit: cocoon-2.1/src/blocks/woody/samples/xsl/html woody-default.xsl
bruno 2003/08/12 05:57:18
Modified: src/blocks/woody/samples/xsl/html woody-default.xsl
Log:
Added template to handle output widget
Revision Changes Path
1.7 +4 -0 cocoon-2.1/src/blocks/woody/samples/xsl/html/woody-default.xsl
Index: woody-default.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/xsl/html/woody-default.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- woody-default.xsl 25 Jul 2003 09:04:05 -0000 1.6
+++ woody-default.xsl 12 Aug 2003 12:57:18 -0000 1.7
@@ -84,6 +84,10 @@
<a href="#" style="color:red; font-weight: bold" onclick="alert('{normalize-space($message)}')"> ! </a>
</xsl:template>
+ <xsl:template match="wi:output">
+ <xsl:copy-of select="wi:value/node()"/>
+ </xsl:template>
+
<xsl:template match="wi:booleanfield">
<input type="checkbox" value="true" name="{@id}">
<xsl:if test="wi:value/text() = 'true'">