source: BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/htmltbl.xsl@ d7d874c

systemd
Last change on this file since d7d874c was f8c4e94, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added LFS XSL Stylesheets.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="ASCII"?>
2<!--This file was created automatically by html2xhtml-->
3<!--from the HTML stylesheets.-->
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://docbook.sf.net/release/xsl/current/ for
12 copyright 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>
Note: See TracBrowser for help on using the repository browser.