3 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
6 <xsl:import href=
"http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
8 <xsl:param name="generate.component.toc">0</xsl:param>
10 <xsl:template name=
"head.content">
11 <link rel=
"stylesheet" href=
"../style.css" type=
"text/css" media=
"all"/>
12 <title><xsl:value-of select='/book/bookinfo/title'
/></title>
15 <xsl:template match=
"guimenuitem">
16 <span class=
"guimenuitem">
17 <xsl:call-template name=
"inline.charseq"/>
21 <xsl:template match=
"function">
22 <span class=
"function"><xsl:apply-templates/></span>
25 <xsl:template match=
"parameter">
26 <span class=
"parameter"><xsl:apply-templates/></span>
29 <xsl:template match=
"filename">`
<tt class=
"filename"><xsl:apply-templates/></tt>'
</xsl:template>
31 <xsl:template match=
"keycap">
32 <span class=
"keycap"><xsl:apply-templates/></span>
35 <xsl:template match=
"book">
37 <xsl:call-template name=
"book.titlepage"/>
38 <xsl:call-template name=
"division.toc"/>
40 <xsl:apply-templates/>
43 <xsl:template match=
"othercredit" mode=
"titlepage.mode">
44 <h3 class=
"{name(.)}"><xsl:call-template name=
"person.name"/></h3>
45 <xsl:apply-templates mode=
"titlepage.mode" select=
"./contrib"/>
46 <xsl:apply-templates mode=
"titlepage.mode" select=
"./affiliation"/>
49 <xsl:template match=
"emphasis">
51 <xsl:when test=
"@role='underline'">
52 <u><xsl:apply-templates/></u>
60 <xsl:template match=
"citation">
61 <xsl:text>[
</xsl:text>
62 <xsl:variable name=
"cited"><xsl:value-of select=
"."/></xsl:variable>
63 <a href=
"#{generate-id(/book/bibliography/bibliomixed[string(abbrev/.) = $cited])}">
64 <xsl:call-template name=
"inline.charseq"/>
66 <xsl:text>]
</xsl:text>
69 <xsl:template match=
"bibliomixed">
70 <div xmlns=
"http://www.w3.org/1999/xhtml" class=
"{name(.)}" id=
"{generate-id(.)}">
71 <xsl:call-template name=
"anchor"/>
73 <xsl:call-template name=
"biblioentry.label"/>
74 <xsl:apply-templates mode=
"bibliomixed.mode"/>
79 <xsl:template match=
"email">
80 <xsl:call-template name=
"inline.monoseq">
81 <xsl:with-param name=
"content">
82 <xsl:text><</xsl:text>
83 <xsl:apply-templates/>
84 <xsl:text>></xsl:text>