annotate DOCS/xml/html-common.xsl @ 16647:e26e80f3031c

synced with 1.30
author gabrov
date Mon, 03 Oct 2005 12:00:28 +0000
parents e05e51e21806
children cf5519000a08
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="ISO-8859-1"?>
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
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
5 <xsl:output method="html" indent="no"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
6
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <!-- **************
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 Set parameters
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 ************** -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
10
11207
e05e51e21806 number of branches increased from 3 to 4
gabucino
parents: 10135
diff changeset
11 <xsl:param name="toc.section.depth" select="'4'"/>
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
12
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 <xsl:param name="html.stylesheet" select="'default.css'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 <xsl:param name="html.stylesheet.type" select="'text/css'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
15
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <xsl:param name="html.cleanup" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <xsl:param name="make.valid.html" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 <xsl:param name="make.single.year.ranges" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 <xsl:param name="make.year.ranges" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
20
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <!-- Use ID value for generated filenames -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 <xsl:param name="use.id.as.filename" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
23
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 <!-- Depth to which sections are chunked -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 <xsl:param name="chunk.section.depth" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
26
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 <!-- Create a chunk for the 1st top-level section too -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 <xsl:param name="chunk.first.sections" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
29
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 <xsl:param name="admon.graphics" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 <xsl:param name="navig.graphics" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <xsl:param name="navig.showtitles" select="'1'"/>
10135
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
33
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
34 <!-- Generate more links for Site Navigation Bar -->
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
35 <xsl:param name="html.extra.head.links" select="1"/>
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
36
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 <!-- Label sections too (eg. 2.1, 2.1.1) -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 <xsl:param name="section.autolabel" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 <xsl:param name="section.label.includes.component.label" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
40
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <!-- Use informal procedures; no need to number them -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 <xsl:param name="formal.procedures" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
43
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 <xsl:param name="generate.toc">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 appendix toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 article toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 book toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 chapter toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 part toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 preface toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 qandadiv toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 qandaset toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 reference toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 section toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 set toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 </xsl:param>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
57
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 <!-- *********
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 Templates
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 ********* -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
61
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 <xsl:template match="application">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 <span class="application"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
65
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 <xsl:template match="option">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 <tt class="option"><xsl:apply-templates/></tt>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
69
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 <xsl:template match="filename">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 <tt class="filename"><xsl:apply-templates/></tt>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
73
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 <xsl:template match="keycap">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 <span class="keycap"><b><xsl:apply-templates/></b></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
77
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 <xsl:template match="guimenu">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 <span class="guimenu"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
81
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 <xsl:template match="guisubmenu">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 <span class="guisubmenu"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
85
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 <xsl:template match="guimenuitem">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 <span class="guimenuitem"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
89
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 </xsl:stylesheet>