3 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
6 <xsl:import href=
"/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/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=
"guibutton">
22 <span class=
"guibutton">
23 <xsl:call-template name=
"inline.charseq"/>
27 <xsl:template match=
"guilabel">`
<span class=
"guilabel"><xsl:call-template name=
"inline.charseq"/></span>'
</xsl:template>
29 <xsl:template match=
"function">
30 <span class=
"function"><xsl:apply-templates/></span>
33 <xsl:template match=
"parameter">
34 <span class=
"parameter"><xsl:apply-templates/></span>
37 <xsl:template match=
"filename">`
<tt class=
"filename"><xsl:apply-templates/></tt>'
</xsl:template>
39 <xsl:template match=
"keycap">
40 <span class=
"keycap"><xsl:apply-templates/></span>
43 <xsl:template match=
"book">
45 <xsl:call-template name=
"book.titlepage"/>
46 <xsl:call-template name=
"division.toc"/>
48 <xsl:apply-templates/>
51 <xsl:template match=
"othercredit" mode=
"titlepage.mode">
52 <h3 class=
"{name(.)}"><xsl:call-template name=
"person.name"/></h3>
53 <xsl:apply-templates mode=
"titlepage.mode" select=
"./contrib"/>
54 <xsl:apply-templates mode=
"titlepage.mode" select=
"./affiliation"/>
57 <xsl:template match=
"emphasis">
59 <xsl:when test=
"@role='underline'">
60 <u><xsl:apply-templates/></u>
68 <xsl:template match=
"citation">
69 <xsl:text>[
</xsl:text>
70 <xsl:variable name=
"cited"><xsl:value-of select=
"."/></xsl:variable>
71 <a href=
"#{generate-id(/book/bibliography/bibliomixed[string(abbrev/.) = $cited])}">
72 <xsl:call-template name=
"inline.charseq"/>
74 <xsl:text>]
</xsl:text>
77 <xsl:template match=
"bibliomixed">
78 <div xmlns=
"http://www.w3.org/1999/xhtml" class=
"{name(.)}" id=
"{generate-id(.)}">
79 <xsl:call-template name=
"anchor"/>
81 <xsl:call-template name=
"biblioentry.label"/>
82 <xsl:apply-templates mode=
"bibliomixed.mode"/>