ivelin 2002/09/16 21:03:41 Modified: src/webapp/samples/xmlform/stylesheets wizard2html.xsl Log: patch for http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9716 Revision Changes Path 1.5 +9 -1 xml-cocoon2/src/webapp/samples/xmlform/stylesheets/wizard2html.xsl Index: wizard2html.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/xmlform/stylesheets/wizard2html.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- wizard2html.xsl 4 Jul 2002 20:57:48 -0000 1.4 +++ wizard2html.xsl 17 Sep 2002 04:03:41 -0000 1.5 @@ -89,6 +89,7 @@ <xsl:for-each select="*[name() != 'xf:submit']"> <xsl:choose> <xsl:when test="name() = 'error'"/> + <xsl:when test="name() = 'xf:caption'"/> <xsl:when test="xf:*"> <xsl:apply-templates select="."/> </xsl:when> @@ -123,7 +124,13 @@ <tr width="100%"> <td width="100%" colspan="2"> <table class="group" border="0"> - <xsl:apply-templates select="*"/> + <tr> + <td align="left"> + <xsl:value-of select="xf:caption" /> + </td> + </tr> + + <xsl:apply-templates select="*"/> </table> </td> </tr> @@ -143,6 +150,7 @@ </div> </xsl:template> + <xsl:template match="xf:caption"/> <xsl:template match="xf:*"> <tr>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
