source: stylesheets/xhtml/lfs-sections.xsl@ 0f442884

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0f442884 was b04da2c, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Prevent creation of dummy HTML files.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5986 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns="http://www.w3.org/1999/xhtml"
5 version="1.0">
6
7 <!-- Sect1 attributes -->
8 <xsl:template match="sect1">
9 <div>
10 <xsl:choose>
11 <xsl:when test="@role">
12 <xsl:attribute name="class">
13 <xsl:value-of select="@role"/>
14 </xsl:attribute>
15 </xsl:when>
16 <xsl:otherwise>
17 <xsl:attribute name="class">
18 <xsl:value-of select="name(.)"/>
19 </xsl:attribute>
20 </xsl:otherwise>
21 </xsl:choose>
22 <xsl:call-template name="language.attribute"/>
23 <xsl:call-template name="sect1.titlepage"/>
24 <xsl:apply-templates/>
25 <xsl:call-template name="process.chunk.footnotes"/>
26 </div>
27 </xsl:template>
28
29 <!-- Sect2 attributes -->
30 <xsl:template match="sect2">
31 <div>
32 <xsl:choose>
33 <xsl:when test="@role">
34 <xsl:attribute name="class">
35 <xsl:value-of select="@role"/>
36 </xsl:attribute>
37 </xsl:when>
38 <xsl:otherwise>
39 <xsl:attribute name="class">
40 <xsl:value-of select="name(.)"/>
41 </xsl:attribute>
42 </xsl:otherwise>
43 </xsl:choose>
44 <xsl:call-template name="language.attribute"/>
45 <xsl:call-template name="sect2.titlepage"/>
46 <xsl:apply-templates/>
47 <xsl:call-template name="process.chunk.footnotes"/>
48 </div>
49 </xsl:template>
50
51</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.