Mercurial > mplayer.hg
annotate DOCS/xml/html-common.xsl @ 22795:0285c5f0f53d
Unconditionally add all subdirectories to PARTS. This way make clean always
descends into all subdirectories.
author | diego |
---|---|
date | Sat, 24 Mar 2007 19:56:00 +0000 |
parents | abde88225c3a |
children | e9555bd1a9fb |
rev | line source |
---|---|
20816 | 1 <?xml version="1.0" encoding="utf-8"?> |
9674 | 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
3 version="1.0"> | |
4 | |
5 <xsl:output method="html" indent="no"/> | |
6 | |
7 <!-- ************** | |
8 Set parameters | |
9 ************** --> | |
10 | |
20924
abde88225c3a
Output UTF-8 instead of legacy encodings by default.
diego
parents:
20816
diff
changeset
|
11 <xsl:param name="chunker.output.encoding" select="'utf-8'"/> |
abde88225c3a
Output UTF-8 instead of legacy encodings by default.
diego
parents:
20816
diff
changeset
|
12 <xsl:output encoding="utf-8"/> |
abde88225c3a
Output UTF-8 instead of legacy encodings by default.
diego
parents:
20816
diff
changeset
|
13 |
11207 | 14 <xsl:param name="toc.section.depth" select="'4'"/> |
9674 | 15 |
16 <xsl:param name="html.stylesheet" select="'default.css'"/> | |
17 <xsl:param name="html.stylesheet.type" select="'text/css'"/> | |
18 | |
19 <xsl:param name="html.cleanup" select="'1'"/> | |
20 <xsl:param name="make.valid.html" select="'1'"/> | |
21 <xsl:param name="make.single.year.ranges" select="'1'"/> | |
22 <xsl:param name="make.year.ranges" select="'1'"/> | |
23 | |
24 <!-- Use ID value for generated filenames --> | |
25 <xsl:param name="use.id.as.filename" select="'1'"/> | |
26 | |
27 <!-- Depth to which sections are chunked --> | |
28 <xsl:param name="chunk.section.depth" select="'1'"/> | |
29 | |
30 <!-- Create a chunk for the 1st top-level section too --> | |
31 <xsl:param name="chunk.first.sections" select="'1'"/> | |
32 | |
33 <xsl:param name="admon.graphics" select="'0'"/> | |
34 <xsl:param name="navig.graphics" select="'0'"/> | |
35 <xsl:param name="navig.showtitles" select="'1'"/> | |
10135 | 36 |
37 <!-- Generate more links for Site Navigation Bar --> | |
38 <xsl:param name="html.extra.head.links" select="1"/> | |
9674 | 39 |
40 <!-- Label sections too (eg. 2.1, 2.1.1) --> | |
41 <xsl:param name="section.autolabel" select="'1'"/> | |
42 <xsl:param name="section.label.includes.component.label" select="'1'"/> | |
43 | |
44 <!-- Use informal procedures; no need to number them --> | |
45 <xsl:param name="formal.procedures" select="'0'"/> | |
46 | |
47 <xsl:param name="generate.toc"> | |
48 appendix toc | |
49 article toc | |
50 book toc | |
51 chapter toc | |
52 part toc | |
53 preface toc | |
54 qandadiv toc | |
55 qandaset toc | |
56 reference toc | |
57 section toc | |
58 set toc | |
59 </xsl:param> | |
60 | |
61 <!-- ********* | |
62 Templates | |
63 ********* --> | |
64 | |
65 <xsl:template match="application"> | |
66 <span class="application"><xsl:apply-templates/></span> | |
67 </xsl:template> | |
68 | |
69 <xsl:template match="option"> | |
70 <tt class="option"><xsl:apply-templates/></tt> | |
71 </xsl:template> | |
72 | |
73 <xsl:template match="filename"> | |
74 <tt class="filename"><xsl:apply-templates/></tt> | |
75 </xsl:template> | |
76 | |
77 <xsl:template match="keycap"> | |
78 <span class="keycap"><b><xsl:apply-templates/></b></span> | |
79 </xsl:template> | |
80 | |
81 <xsl:template match="guimenu"> | |
82 <span class="guimenu"><xsl:apply-templates/></span> | |
83 </xsl:template> | |
84 | |
85 <xsl:template match="guisubmenu"> | |
86 <span class="guisubmenu"><xsl:apply-templates/></span> | |
87 </xsl:template> | |
88 | |
89 <xsl:template match="guimenuitem"> | |
90 <span class="guimenuitem"><xsl:apply-templates/></span> | |
91 </xsl:template> | |
92 | |
93 </xsl:stylesheet> |