| 1 |
<?xml version="1.0"?> |
| 2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 3 |
version="1.0"> |
| 4 |
|
| 5 |
<!-- ******************************************************************** |
| 6 |
$Id: htmltbl.xsl 6910 2007-06-28 23:23:30Z xmldoc $ |
| 7 |
******************************************************************** |
| 8 |
|
| 9 |
This file is part of the XSL DocBook Stylesheet distribution. |
| 10 |
See ../README or http://docbook.sf.net/release/xsl/current/ for |
| 11 |
copyright and other information. |
| 12 |
|
| 13 |
******************************************************************** --> |
| 14 |
|
| 15 |
<!-- ==================================================================== --> |
| 16 |
|
| 17 |
<xsl:template match="colgroup" mode="htmlTable"> |
| 18 |
<xsl:copy> |
| 19 |
<xsl:copy-of select="@*"/> |
| 20 |
<xsl:apply-templates mode="htmlTable"/> |
| 21 |
</xsl:copy> |
| 22 |
</xsl:template> |
| 23 |
|
| 24 |
<xsl:template match="col" mode="htmlTable"> |
| 25 |
<xsl:copy> |
| 26 |
<xsl:copy-of select="@*"/> |
| 27 |
</xsl:copy> |
| 28 |
</xsl:template> |
| 29 |
|
| 30 |
<xsl:template match="caption" mode="htmlTable"> |
| 31 |
<xsl:copy> |
| 32 |
<xsl:copy-of select="@*"/> |
| 33 |
|
| 34 |
<xsl:apply-templates select=".." mode="object.title.markup"> |
| 35 |
<xsl:with-param name="allow-anchors" select="1"/> |
| 36 |
</xsl:apply-templates> |
| 37 |
|
| 38 |
</xsl:copy> |
| 39 |
</xsl:template> |
| 40 |
|
| 41 |
<xsl:template match="thead|tbody|tgroup|tr" mode="htmlTable"> |
| 42 |
<xsl:copy> |
| 43 |
<xsl:copy-of select="@*"/> |
| 44 |
<xsl:apply-templates mode="htmlTable"/> |
| 45 |
</xsl:copy> |
| 46 |
</xsl:template> |
| 47 |
|
| 48 |
<xsl:template match="th|td" mode="htmlTable"> |
| 49 |
<xsl:copy> |
| 50 |
<xsl:copy-of select="@*"/> |
| 51 |
<xsl:apply-templates/> <!-- *not* mode=htmlTable --> |
| 52 |
</xsl:copy> |
| 53 |
</xsl:template> |
| 54 |
|
| 55 |
</xsl:stylesheet> |