annotate DOCS/xml/html-common.xsl @ 36915:91ec74c16463

Fix typo.
author ib
date Thu, 13 Mar 2014 15:42:10 +0000
parents 0f1b5b68af32
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20816
cf5519000a08 Mark file as UTF-8-encoded.
diego
parents: 11207
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 version="1.0">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
4
28909
e9555bd1a9fb Set DOCTYPE in xsl-generated HTML documentation.
reimar
parents: 20924
diff changeset
5 <xsl:output method="html" indent="no"
e9555bd1a9fb Set DOCTYPE in xsl-generated HTML documentation.
reimar
parents: 20924
diff changeset
6 doctype-system="http://www.w3.org/TR/html4/loose.dtd"
e9555bd1a9fb Set DOCTYPE in xsl-generated HTML documentation.
reimar
parents: 20924
diff changeset
7 doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28909
diff changeset
8
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <!-- **************
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 Set parameters
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 ************** -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
12
20924
abde88225c3a Output UTF-8 instead of legacy encodings by default.
diego
parents: 20816
diff changeset
13 <xsl:param name="chunker.output.encoding" select="'utf-8'"/>
abde88225c3a Output UTF-8 instead of legacy encodings by default.
diego
parents: 20816
diff changeset
14 <xsl:output encoding="utf-8"/>
abde88225c3a Output UTF-8 instead of legacy encodings by default.
diego
parents: 20816
diff changeset
15
11207
e05e51e21806 number of branches increased from 3 to 4
gabucino
parents: 10135
diff changeset
16 <xsl:param name="toc.section.depth" select="'4'"/>
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
17
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 <xsl:param name="html.stylesheet" select="'default.css'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 <xsl:param name="html.stylesheet.type" select="'text/css'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
20
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <xsl:param name="html.cleanup" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 <xsl:param name="make.valid.html" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 <xsl:param name="make.single.year.ranges" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 <xsl:param name="make.year.ranges" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
25
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 <!-- Use ID value for generated filenames -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 <xsl:param name="use.id.as.filename" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
28
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 <!-- Depth to which sections are chunked -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 <xsl:param name="chunk.section.depth" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
31
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <!-- Create a chunk for the 1st top-level section too -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <xsl:param name="chunk.first.sections" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
34
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 <xsl:param name="admon.graphics" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 <xsl:param name="navig.graphics" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 <xsl:param name="navig.showtitles" select="'1'"/>
10135
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
38
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
39 <!-- Generate more links for Site Navigation Bar -->
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
40 <xsl:param name="html.extra.head.links" select="1"/>
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28909
diff changeset
41
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 <!-- Label sections too (eg. 2.1, 2.1.1) -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 <xsl:param name="section.autolabel" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 <xsl:param name="section.label.includes.component.label" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
45
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 <!-- Use informal procedures; no need to number them -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 <xsl:param name="formal.procedures" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
48
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 <xsl:param name="generate.toc">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 appendix toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 article toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 book toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 chapter toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 part toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 preface toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 qandadiv toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 qandaset toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 reference toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 section toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 set toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 </xsl:param>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
62
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 <!-- *********
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 Templates
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 ********* -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
66
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 <xsl:template match="application">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 <span class="application"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
70
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 <xsl:template match="option">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 <tt class="option"><xsl:apply-templates/></tt>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
74
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 <xsl:template match="filename">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 <tt class="filename"><xsl:apply-templates/></tt>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
78
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 <xsl:template match="keycap">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <span class="keycap"><b><xsl:apply-templates/></b></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
82
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 <xsl:template match="guimenu">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 <span class="guimenu"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
86
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 <xsl:template match="guisubmenu">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <span class="guisubmenu"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
90
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <xsl:template match="guimenuitem">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <span class="guimenuitem"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
94
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 </xsl:stylesheet>