You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/04/21 16:00:03 UTC
cvs commit: cocoon-2.1/src/blocks/woody/samples/resources woody-field-styling.xsl
joerg 2004/04/21 07:00:03
Modified: src/blocks/forms/samples/resources forms-field-styling.xsl
src/blocks/woody/samples/resources woody-field-styling.xsl
Log:
<input> must not occur as direct child of form => surrounded with a <div>
=> got my form XHTML 1.0 strict .. hurray!
Revision Changes Path
1.7 +2 -2 cocoon-2.1/src/blocks/forms/samples/resources/forms-field-styling.xsl
Index: forms-field-styling.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/resources/forms-field-styling.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- forms-field-styling.xsl 21 Apr 2004 13:53:56 -0000 1.6
+++ forms-field-styling.xsl 21 Apr 2004 14:00:03 -0000 1.7
@@ -412,7 +412,7 @@
<xsl:copy-of select="@*"/>
<xsl:attribute name="onsubmit">forms_onsubmit(); <xsl:value-of select="@onsubmit"/></xsl:attribute>
<!-- hidden field to store the submit id -->
- <input type="hidden" name="forms_submit_id"/>
+ <div><input type="hidden" name="forms_submit_id"/></div>
<xsl:apply-templates/>
<!-- TODO: consider putting this in the xml stream from the generator? -->
1.48 +2 -2 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.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- woody-field-styling.xsl 21 Apr 2004 13:53:56 -0000 1.47
+++ woody-field-styling.xsl 21 Apr 2004 14:00:03 -0000 1.48
@@ -411,7 +411,7 @@
<xsl:copy-of select="@*"/>
<xsl:attribute name="onsubmit">woody_onsubmit(); <xsl:value-of select="@onsubmit"/></xsl:attribute>
<!-- hidden field to store the submit id -->
- <input type="hidden" name="woody_submit_id"/>
+ <div><input type="hidden" name="woody_submit_id"/></div>
<xsl:apply-templates/>
<!-- TODO: consider putting this in the xml stream from the generator? -->