sylvain 2003/11/03 09:15:14
Modified: src/blocks/woody/samples/resources woody-field-styling.xsl
Log:
Copy attributes on wi:action, which allows <wi:styling type="image"
src="blah.gif">
Revision Changes Path
1.5 +1 -0
cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl
Index: woody-field-styling.xsl
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- woody-field-styling.xsl 24 Oct 2003 14:13:50 -0000 1.4
+++ woody-field-styling.xsl 3 Nov 2003 17:15:14 -0000 1.5
@@ -213,6 +213,7 @@
<xsl:template match="wi:action">
<input type="submit" name="[EMAIL PROTECTED]" title="{wi:hint}">
<xsl:attribute name="value"><xsl:value-of
select="wi:label/node()"/></xsl:attribute>
+ <xsl:copy-of select="wi:styling/@*"/>
</input>
</xsl:template>