vgritsenko 2004/01/26 13:41:33
Modified: src/blocks/woody/samples/resources woody-field-styling.xsl
Log:
comments
Revision Changes Path
1.39 +8 -3
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.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- woody-field-styling.xsl 26 Jan 2004 17:33:57 -0000 1.38
+++ woody-field-styling.xsl 26 Jan 2004 21:41:32 -0000 1.39
@@ -50,7 +50,9 @@
+-->
<xsl:template match="wi:*" mode="styling">
<xsl:apply-templates select="wi:styling/@*" mode="styling"/>
- <!--+ @listbox-size needs to be handled separately as even if it is not
+
+ <!--+
+ | @listbox-size needs to be handled separately as even if it is not
| specified some output (@size) must be generated.
| Separating this out into this common styling looks a bit like
| over-separation, doesn't it?
@@ -80,11 +82,14 @@
<xsl:template match="wi:styling/@list-type | wi:styling/@list-orientation |
wi:styling/@listbox-size | wi:styling/@format"
mode="styling">
- <!-- They are just markers for the stylesheet and don't go through to
HTML. -->
+ <!--+
+ | Ignore marker attributes so they don't go into the resuling HTML.
+ +-->
</xsl:template>
<xsl:template match="wi:styling/@type" mode="styling">
- <!--+ Do we have a duplicate semantic usage of @type??
+ <!--+
+ | Do we have a duplicate semantic usage of @type?
| @type is only a marker for the stylesheet in general, but some of
the
| types must/should be in the HTML output too.
+-->