2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 <!-- ====================================================================== -->
7 <xsl:template name="graphics-file">
8 <xsl:param name="image" select="'bullet.gif'"/>
10 <xsl:variable name="source.graphics.dir">
11 <xsl:call-template name="dbhtml-attribute">
12 <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
13 <xsl:with-param name="attribute" select="'graphics-dir'"/>
18 <xsl:when test="$source.graphics.dir != ''">
19 <xsl:value-of select="$source.graphics.dir"/>
20 <xsl:text>/</xsl:text>
22 <xsl:when test="$graphics.dir != ''">
23 <xsl:value-of select="$graphics.dir"/>
24 <xsl:text>/</xsl:text>
27 <xsl:text>http://docbook.sourceforge.net/release/slides/graphics/</xsl:text>
30 <xsl:value-of select="$image"/>
33 <!-- ====================================================================== -->
34 <!-- active navigation images -->
36 <xsl:template name="toc.image">
37 <!-- Danger Will Robinson: template shadows parameter -->
38 <xsl:call-template name="graphics-file">
39 <xsl:with-param name="image" select="$toc.image"/>
43 <xsl:template name="home.image">
44 <!-- Danger Will Robinson: template shadows parameter -->
45 <xsl:call-template name="graphics-file">
46 <xsl:with-param name="image" select="$home.image"/>
50 <xsl:template name="up.image">
51 <!-- Danger Will Robinson: template shadows parameter -->
52 <xsl:call-template name="graphics-file">
53 <xsl:with-param name="image" select="$up.image"/>
57 <xsl:template name="prev.image">
58 <!-- Danger Will Robinson: template shadows parameter -->
59 <xsl:call-template name="graphics-file">
60 <xsl:with-param name="image" select="$prev.image"/>
64 <xsl:template name="next.image">
65 <!-- Danger Will Robinson: template shadows parameter -->
66 <xsl:call-template name="graphics-file">
67 <xsl:with-param name="image" select="$next.image"/>
71 <!-- inactive navigation images -->
73 <xsl:template name="no.toc.image">
74 <!-- Danger Will Robinson: template shadows parameter -->
75 <xsl:call-template name="graphics-file">
76 <xsl:with-param name="image" select="$no.toc.image"/>
80 <xsl:template name="no.home.image">
81 <!-- Danger Will Robinson: template shadows parameter -->
82 <xsl:call-template name="graphics-file">
83 <xsl:with-param name="image" select="$no.home.image"/>
87 <xsl:template name="no.up.image">
88 <!-- Danger Will Robinson: template shadows parameter -->
89 <xsl:call-template name="graphics-file">
90 <xsl:with-param name="image" select="$no.up.image"/>
94 <xsl:template name="no.prev.image">
95 <!-- Danger Will Robinson: template shadows parameter -->
96 <xsl:call-template name="graphics-file">
97 <xsl:with-param name="image" select="$no.prev.image"/>
101 <xsl:template name="no.next.image">
102 <!-- Danger Will Robinson: template shadows parameter -->
103 <xsl:call-template name="graphics-file">
104 <xsl:with-param name="image" select="$no.next.image"/>
108 <!-- ====================================================================== -->
111 <xsl:template name="bullet.image">
112 <!-- Danger Will Robinson: template shadows parameter -->
113 <xsl:call-template name="graphics-file">
114 <xsl:with-param name="image" select="$bullet.image"/>
118 <xsl:template name="plus.image">
119 <!-- Danger Will Robinson: template shadows parameter -->
120 <xsl:call-template name="graphics-file">
121 <xsl:with-param name="image" select="$plus.image"/>
125 <xsl:template name="minus.image">
126 <!-- Danger Will Robinson: template shadows parameter -->
127 <xsl:call-template name="graphics-file">
128 <xsl:with-param name="image" select="$minus.image"/>
132 <!-- ====================================================================== -->
133 <!-- hide/show ToC images -->
135 <xsl:template name="hidetoc.image">
136 <!-- Danger Will Robinson: template shadows parameter -->
137 <xsl:call-template name="graphics-file">
138 <xsl:with-param name="image" select="$hidetoc.image"/>
142 <xsl:template name="showtoc.image">
143 <!-- Danger Will Robinson: template shadows parameter -->
144 <xsl:call-template name="graphics-file">
145 <xsl:with-param name="image" select="$showtoc.image"/>
149 <!-- ====================================================================== -->