Rocco Rutte:
[apps/madmutt.git] / doc / xslt / xhtml / htmltbl.xsl
1 <?xml version="1.0" encoding="US-ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets. Do not edit this file.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
5
6 <!-- ********************************************************************
7      $Id$
8      ********************************************************************
9
10      This file is part of the XSL DocBook Stylesheet distribution.
11      See ../README or http://nwalsh.com/docbook/xsl/ for copyright
12      and other information.
13
14      ******************************************************************** -->
15
16 <!-- ==================================================================== -->
17
18 <xsl:template match="colgroup" mode="htmlTable">
19   <xsl:copy>
20     <xsl:copy-of select="@*"/>
21     <xsl:apply-templates mode="htmlTable"/>
22   </xsl:copy>
23 </xsl:template>
24
25 <xsl:template match="col" mode="htmlTable">
26   <xsl:copy>
27     <xsl:copy-of select="@*"/>
28   </xsl:copy>
29 </xsl:template>
30
31 <xsl:template match="caption" mode="htmlTable">
32   <xsl:copy>
33     <xsl:copy-of select="@*"/>
34
35     <xsl:apply-templates select=".." mode="object.title.markup">
36       <xsl:with-param name="allow-anchors" select="1"/>
37     </xsl:apply-templates>
38
39   </xsl:copy>
40 </xsl:template>
41
42 <xsl:template match="thead|tbody|tgroup|tr" mode="htmlTable">
43   <xsl:copy>
44     <xsl:copy-of select="@*"/>
45     <xsl:apply-templates mode="htmlTable"/>
46   </xsl:copy>
47 </xsl:template>
48
49 <xsl:template match="th|td" mode="htmlTable">
50   <xsl:copy>
51     <xsl:copy-of select="@*"/>
52     <xsl:apply-templates/> <!-- *not* mode=htmlTable -->
53   </xsl:copy>
54 </xsl:template>
55
56 </xsl:stylesheet>