r34 - trunk/varnish-doc/share

des at projects.linpro.no des at projects.linpro.no
Mon Feb 27 09:47:09 CET 2006


Author: des
Date: 2006-02-27 09:47:09 +0100 (Mon, 27 Feb 2006)
New Revision: 34

Modified:
   trunk/varnish-doc/share/docbook-html.xsl
Log:
Implement tables.

Modified: trunk/varnish-doc/share/docbook-html.xsl
===================================================================
--- trunk/varnish-doc/share/docbook-html.xsl	2006-02-27 08:24:04 UTC (rev 33)
+++ trunk/varnish-doc/share/docbook-html.xsl	2006-02-27 08:47:09 UTC (rev 34)
@@ -77,7 +77,7 @@
   </xsl:template>
 
   <xsl:template match="bibliography">
-    <xsl:param name="level"/>
+    <xsl:param name="level" select="1"/>
     <div class="bibliography">
       <xsl:apply-templates>
 	<xsl:with-param name="level" select="$level + 1"/>
@@ -141,6 +141,48 @@
     </li>
   </xsl:template>
 
+  <xsl:template match="informaltable">
+    <div class="informaltable">
+      <xsl:apply-templates/>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="tgroup">
+    <table>
+      <xsl:apply-templates/>
+    </table>
+  </xsl:template>
+
+  <xsl:template match="thead">
+    <thead>
+      <xsl:apply-templates/>
+    </thead>
+  </xsl:template>
+
+  <xsl:template match="tbody">
+    <tbody>
+      <xsl:apply-templates/>
+    </tbody>
+  </xsl:template>
+
+  <xsl:template match="tfoot">
+    <tfoot>
+      <xsl:apply-templates/>
+    </tfoot>
+  </xsl:template>
+
+  <xsl:template match="row">
+    <tr>
+      <xsl:apply-templates/>
+    </tr>
+  </xsl:template>
+
+  <xsl:template match="entry">
+    <td>
+      <xsl:apply-templates/>
+    </td>
+  </xsl:template>
+
   <xsl:template match="para">
     <p>
       <xsl:apply-templates/>




More information about the varnish-commit mailing list