Hi,

I noticed that in the webapp-rendered documentation, <s3> and <s4> headers
aren't being displayed, because there is no matching template in the
stylesheet. The attached patch fixes this.

--Jeff
Index: ./webapp/stylesheets/documents/root2html.xsl
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/webapp/stylesheets/documents/root2html.xsl,v
retrieving revision 1.9
diff -u -r1.9 root2html.xsl
--- ./webapp/stylesheets/documents/root2html.xsl        2001/07/28 21:52:27     1.9
+++ ./webapp/stylesheets/documents/root2html.xsl        2001/09/30 08:28:08
@@ -74,6 +74,16 @@
   <xsl:apply-templates/>
 </xsl:template>
 
+<xsl:template match="body//s3">
+  <h3><xsl:value-of select="@title"/></h3>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="body//s4">
+  <h4><xsl:value-of select="@title"/></h4>
+  <xsl:apply-templates/>
+</xsl:template>
+
 <xsl:template match="body//link">
   <a>
     <xsl:copy-of select="@href"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to