1 | <?xml version="1.0" encoding="US-ASCII"?>
|
---|
2 | <!--This file was created automatically by html2xhtml-->
|
---|
3 | <!--from the HTML stylesheets. Do not edit this file.-->
|
---|
4 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
|
---|
5 |
|
---|
6 | <xsl:import href="slides-common.xsl"/>
|
---|
7 |
|
---|
8 | <xsl:param name="prev.image" select="'active/nav-prev.png'"/>
|
---|
9 | <xsl:param name="next.image" select="'active/nav-next.png'"/>
|
---|
10 | <xsl:param name="up.image" select="'active/nav-up.png'"/>
|
---|
11 | <xsl:param name="toc.image" select="'active/nav-toc.png'"/>
|
---|
12 | <xsl:param name="home.image" select="'active/nav-home.png'"/>
|
---|
13 |
|
---|
14 | <xsl:param name="no.prev.image" select="'inactive/nav-prev.png'"/>
|
---|
15 | <xsl:param name="no.next.image" select="'inactive/nav-next.png'"/>
|
---|
16 | <xsl:param name="no.up.image" select="'inactive/nav-up.png'"/>
|
---|
17 | <xsl:param name="no.toc.image" select="'inactive/nav-toc.png'"/>
|
---|
18 | <xsl:param name="no.home.image" select="'inactive/nav-home.png'"/>
|
---|
19 |
|
---|
20 | <xsl:param name="css.stylesheet" select="'slides-plain.css'"/>
|
---|
21 |
|
---|
22 | <!-- ====================================================================== -->
|
---|
23 |
|
---|
24 | <xsl:template name="top-nav">
|
---|
25 | <xsl:param name="prev"/>
|
---|
26 | <xsl:param name="next"/>
|
---|
27 | <xsl:param name="up"/>
|
---|
28 | <xsl:param name="home"/>
|
---|
29 | <xsl:param name="toc" select="$toc.html"/>
|
---|
30 |
|
---|
31 | <div class="navhead">
|
---|
32 | <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
|
---|
33 | <tr>
|
---|
34 | <td align="left" width="50%">
|
---|
35 | <span class="slidestitle">
|
---|
36 | <xsl:value-of select="(/slides/slidesinfo/title)[1]"/>
|
---|
37 | </span>
|
---|
38 | <xsl:text> </xsl:text>
|
---|
39 | </td>
|
---|
40 | <td align="right" width="50%">
|
---|
41 | <xsl:choose>
|
---|
42 | <xsl:when test="$home">
|
---|
43 | <a>
|
---|
44 | <xsl:attribute name="href">
|
---|
45 | <xsl:apply-templates select="$home" mode="filename"/>
|
---|
46 | </xsl:attribute>
|
---|
47 | <xsl:attribute name="title">
|
---|
48 | <xsl:value-of select="$home/slidesinfo/title"/>
|
---|
49 | </xsl:attribute>
|
---|
50 | <img alt="Home" border="0">
|
---|
51 | <xsl:attribute name="src">
|
---|
52 | <xsl:call-template name="home.image"/>
|
---|
53 | </xsl:attribute>
|
---|
54 | </img>
|
---|
55 | </a>
|
---|
56 | </xsl:when>
|
---|
57 | <xsl:otherwise>
|
---|
58 | <img alt="Home" border="0">
|
---|
59 | <xsl:attribute name="src">
|
---|
60 | <xsl:call-template name="no.home.image"/>
|
---|
61 | </xsl:attribute>
|
---|
62 | </img>
|
---|
63 | </xsl:otherwise>
|
---|
64 | </xsl:choose>
|
---|
65 | <xsl:text> </xsl:text>
|
---|
66 |
|
---|
67 | <xsl:choose>
|
---|
68 | <xsl:when test="$toc != ''">
|
---|
69 | <a title="ToC" href="{$toc}">
|
---|
70 | <img alt="ToC" border="0">
|
---|
71 | <xsl:attribute name="src">
|
---|
72 | <xsl:call-template name="toc.image"/>
|
---|
73 | </xsl:attribute>
|
---|
74 | </img>
|
---|
75 | </a>
|
---|
76 | </xsl:when>
|
---|
77 | <xsl:otherwise>
|
---|
78 | <img alt="ToC" border="0">
|
---|
79 | <xsl:attribute name="src">
|
---|
80 | <xsl:call-template name="no.toc.image"/>
|
---|
81 | </xsl:attribute>
|
---|
82 | </img>
|
---|
83 | </xsl:otherwise>
|
---|
84 | </xsl:choose>
|
---|
85 | <xsl:text> </xsl:text>
|
---|
86 |
|
---|
87 | <xsl:choose>
|
---|
88 | <xsl:when test="$prev">
|
---|
89 | <a>
|
---|
90 | <xsl:attribute name="href">
|
---|
91 | <xsl:apply-templates select="$prev" mode="filename"/>
|
---|
92 | </xsl:attribute>
|
---|
93 | <xsl:attribute name="title">
|
---|
94 | <xsl:value-of select="$prev/title"/>
|
---|
95 | </xsl:attribute>
|
---|
96 | <img alt="Prev" border="0">
|
---|
97 | <xsl:attribute name="src">
|
---|
98 | <xsl:call-template name="prev.image"/>
|
---|
99 | </xsl:attribute>
|
---|
100 | </img>
|
---|
101 | </a>
|
---|
102 | </xsl:when>
|
---|
103 | <xsl:otherwise>
|
---|
104 | <img alt="Prev" border="0">
|
---|
105 | <xsl:attribute name="src">
|
---|
106 | <xsl:call-template name="no.prev.image"/>
|
---|
107 | </xsl:attribute>
|
---|
108 | </img>
|
---|
109 | </xsl:otherwise>
|
---|
110 | </xsl:choose>
|
---|
111 | <xsl:text> </xsl:text>
|
---|
112 |
|
---|
113 | <xsl:choose>
|
---|
114 | <xsl:when test="$up">
|
---|
115 | <a>
|
---|
116 | <xsl:attribute name="href">
|
---|
117 | <xsl:apply-templates select="$up" mode="filename"/>
|
---|
118 | </xsl:attribute>
|
---|
119 | <xsl:attribute name="title">
|
---|
120 | <xsl:value-of select="$up/title"/>
|
---|
121 | </xsl:attribute>
|
---|
122 | <img alt="Up" border="0">
|
---|
123 | <xsl:attribute name="src">
|
---|
124 | <xsl:call-template name="up.image"/>
|
---|
125 | </xsl:attribute>
|
---|
126 | </img>
|
---|
127 | </a>
|
---|
128 | </xsl:when>
|
---|
129 | <xsl:otherwise>
|
---|
130 | <img alt="Up" border="0">
|
---|
131 | <xsl:attribute name="src">
|
---|
132 | <xsl:call-template name="no.up.image"/>
|
---|
133 | </xsl:attribute>
|
---|
134 | </img>
|
---|
135 | </xsl:otherwise>
|
---|
136 | </xsl:choose>
|
---|
137 | <xsl:text> </xsl:text>
|
---|
138 |
|
---|
139 | <xsl:choose>
|
---|
140 | <xsl:when test="$next">
|
---|
141 | <a>
|
---|
142 | <xsl:attribute name="href">
|
---|
143 | <xsl:apply-templates select="$next" mode="filename"/>
|
---|
144 | </xsl:attribute>
|
---|
145 | <xsl:attribute name="title">
|
---|
146 | <xsl:value-of select="$next/title"/>
|
---|
147 | </xsl:attribute>
|
---|
148 | <img alt="Next" border="0">
|
---|
149 | <xsl:attribute name="src">
|
---|
150 | <xsl:call-template name="next.image"/>
|
---|
151 | </xsl:attribute>
|
---|
152 | </img>
|
---|
153 | </a>
|
---|
154 | </xsl:when>
|
---|
155 | <xsl:otherwise>
|
---|
156 | <img alt="Next" border="0">
|
---|
157 | <xsl:attribute name="src">
|
---|
158 | <xsl:call-template name="no.next.image"/>
|
---|
159 | </xsl:attribute>
|
---|
160 | </img>
|
---|
161 | </xsl:otherwise>
|
---|
162 | </xsl:choose>
|
---|
163 | <xsl:text> </xsl:text>
|
---|
164 | </td>
|
---|
165 | </tr>
|
---|
166 | </table>
|
---|
167 | <hr class="top-nav-sep"/>
|
---|
168 | </div>
|
---|
169 | </xsl:template>
|
---|
170 |
|
---|
171 | <!-- ============================================================ -->
|
---|
172 |
|
---|
173 | <xsl:template name="titlepage-top-nav">
|
---|
174 | <xsl:param name="home"/>
|
---|
175 | <xsl:param name="up"/>
|
---|
176 | <xsl:param name="prev"/>
|
---|
177 | <xsl:param name="next"/>
|
---|
178 | <xsl:param name="toc" select="$toc.html"/>
|
---|
179 |
|
---|
180 | <div class="navhead">
|
---|
181 | <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
|
---|
182 | <tr>
|
---|
183 | <td align="left" width="50%">
|
---|
184 | <xsl:text> </xsl:text>
|
---|
185 | </td>
|
---|
186 | <td align="right" width="50%">
|
---|
187 | <xsl:choose>
|
---|
188 | <xsl:when test="$home">
|
---|
189 | <a>
|
---|
190 | <xsl:attribute name="href">
|
---|
191 | <xsl:apply-templates select="$home" mode="filename"/>
|
---|
192 | </xsl:attribute>
|
---|
193 | <xsl:attribute name="title">
|
---|
194 | <xsl:value-of select="$home/slidesinfo/title"/>
|
---|
195 | </xsl:attribute>
|
---|
196 | <img alt="Home" border="0">
|
---|
197 | <xsl:attribute name="src">
|
---|
198 | <xsl:call-template name="home.image"/>
|
---|
199 | </xsl:attribute>
|
---|
200 | </img>
|
---|
201 | </a>
|
---|
202 | </xsl:when>
|
---|
203 | <xsl:otherwise>
|
---|
204 | <img alt="Home" border="0">
|
---|
205 | <xsl:attribute name="src">
|
---|
206 | <xsl:call-template name="no.home.image"/>
|
---|
207 | </xsl:attribute>
|
---|
208 | </img>
|
---|
209 | </xsl:otherwise>
|
---|
210 | </xsl:choose>
|
---|
211 | <xsl:text> </xsl:text>
|
---|
212 |
|
---|
213 | <xsl:choose>
|
---|
214 | <xsl:when test="$toc.html != ''">
|
---|
215 | <a title="ToC" href="{$toc.html}">
|
---|
216 | <img alt="ToC" border="0">
|
---|
217 | <xsl:attribute name="src">
|
---|
218 | <xsl:call-template name="toc.image"/>
|
---|
219 | </xsl:attribute>
|
---|
220 | </img>
|
---|
221 | </a>
|
---|
222 | </xsl:when>
|
---|
223 | <xsl:otherwise>
|
---|
224 | <img alt="ToC" border="0">
|
---|
225 | <xsl:attribute name="src">
|
---|
226 | <xsl:call-template name="no.toc.image"/>
|
---|
227 | </xsl:attribute>
|
---|
228 | </img>
|
---|
229 | </xsl:otherwise>
|
---|
230 | </xsl:choose>
|
---|
231 | <xsl:text> </xsl:text>
|
---|
232 |
|
---|
233 | <xsl:choose>
|
---|
234 | <xsl:when test="$prev">
|
---|
235 | <a>
|
---|
236 | <xsl:attribute name="href">
|
---|
237 | <xsl:apply-templates select="$prev" mode="filename"/>
|
---|
238 | </xsl:attribute>
|
---|
239 | <xsl:attribute name="title">
|
---|
240 | <xsl:value-of select="$prev/title"/>
|
---|
241 | </xsl:attribute>
|
---|
242 | <img alt="Prev" border="0">
|
---|
243 | <xsl:attribute name="src">
|
---|
244 | <xsl:call-template name="prev.image"/>
|
---|
245 | </xsl:attribute>
|
---|
246 | </img>
|
---|
247 | </a>
|
---|
248 | </xsl:when>
|
---|
249 | <xsl:otherwise>
|
---|
250 | <img alt="Prev" border="0">
|
---|
251 | <xsl:attribute name="src">
|
---|
252 | <xsl:call-template name="no.prev.image"/>
|
---|
253 | </xsl:attribute>
|
---|
254 | </img>
|
---|
255 | </xsl:otherwise>
|
---|
256 | </xsl:choose>
|
---|
257 | <xsl:text> </xsl:text>
|
---|
258 |
|
---|
259 | <xsl:choose>
|
---|
260 | <xsl:when test="$up">
|
---|
261 | <a>
|
---|
262 | <xsl:attribute name="href">
|
---|
263 | <xsl:apply-templates select="$up" mode="filename"/>
|
---|
264 | </xsl:attribute>
|
---|
265 | <xsl:attribute name="title">
|
---|
266 | <xsl:value-of select="$up/title"/>
|
---|
267 | </xsl:attribute>
|
---|
268 | <img alt="Up" border="0">
|
---|
269 | <xsl:attribute name="src">
|
---|
270 | <xsl:call-template name="up.image"/>
|
---|
271 | </xsl:attribute>
|
---|
272 | </img>
|
---|
273 | </a>
|
---|
274 | </xsl:when>
|
---|
275 | <xsl:otherwise>
|
---|
276 | <img alt="Up" border="0">
|
---|
277 | <xsl:attribute name="src">
|
---|
278 | <xsl:call-template name="no.up.image"/>
|
---|
279 | </xsl:attribute>
|
---|
280 | </img>
|
---|
281 | </xsl:otherwise>
|
---|
282 | </xsl:choose>
|
---|
283 | <xsl:text> </xsl:text>
|
---|
284 |
|
---|
285 | <xsl:choose>
|
---|
286 | <xsl:when test="$next">
|
---|
287 | <a>
|
---|
288 | <xsl:attribute name="href">
|
---|
289 | <xsl:apply-templates select="$next" mode="filename"/>
|
---|
290 | </xsl:attribute>
|
---|
291 | <xsl:attribute name="title">
|
---|
292 | <xsl:value-of select="$next/title"/>
|
---|
293 | </xsl:attribute>
|
---|
294 | <img alt="Next" border="0">
|
---|
295 | <xsl:attribute name="src">
|
---|
296 | <xsl:call-template name="next.image"/>
|
---|
297 | </xsl:attribute>
|
---|
298 | </img>
|
---|
299 | </a>
|
---|
300 | </xsl:when>
|
---|
301 | <xsl:otherwise>
|
---|
302 | <img alt="Next" border="0">
|
---|
303 | <xsl:attribute name="src">
|
---|
304 | <xsl:call-template name="no.next.image"/>
|
---|
305 | </xsl:attribute>
|
---|
306 | </img>
|
---|
307 | </xsl:otherwise>
|
---|
308 | </xsl:choose>
|
---|
309 | <xsl:text> </xsl:text>
|
---|
310 | </td>
|
---|
311 | </tr>
|
---|
312 | </table>
|
---|
313 | <hr class="top-nav-sep"/>
|
---|
314 | </div>
|
---|
315 | </xsl:template>
|
---|
316 |
|
---|
317 | <!-- ============================================================ -->
|
---|
318 |
|
---|
319 | <xsl:template name="toc-top-nav">
|
---|
320 | <xsl:param name="home" select="/slides"/>
|
---|
321 | <xsl:param name="up"/>
|
---|
322 | <xsl:param name="prev"/>
|
---|
323 | <xsl:param name="next" select="(foil|foilgroup)[1]"/>
|
---|
324 | <xsl:param name="toc"/>
|
---|
325 |
|
---|
326 | <div class="navhead">
|
---|
327 | <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
|
---|
328 | <tr>
|
---|
329 | <td align="left" width="50%">
|
---|
330 | <xsl:text> </xsl:text>
|
---|
331 | </td>
|
---|
332 | <td align="right" width="50%">
|
---|
333 | <xsl:choose>
|
---|
334 | <xsl:when test="$home">
|
---|
335 | <a>
|
---|
336 | <xsl:attribute name="href">
|
---|
337 | <xsl:apply-templates select="$home" mode="filename"/>
|
---|
338 | </xsl:attribute>
|
---|
339 | <xsl:attribute name="title">
|
---|
340 | <xsl:value-of select="$home/slidesinfo/title"/>
|
---|
341 | </xsl:attribute>
|
---|
342 | <img alt="Home" border="0">
|
---|
343 | <xsl:attribute name="src">
|
---|
344 | <xsl:call-template name="home.image"/>
|
---|
345 | </xsl:attribute>
|
---|
346 | </img>
|
---|
347 | </a>
|
---|
348 | </xsl:when>
|
---|
349 | <xsl:otherwise>
|
---|
350 | <img alt="Home" border="0">
|
---|
351 | <xsl:attribute name="src">
|
---|
352 | <xsl:call-template name="no.home.image"/>
|
---|
353 | </xsl:attribute>
|
---|
354 | </img>
|
---|
355 | </xsl:otherwise>
|
---|
356 | </xsl:choose>
|
---|
357 | <xsl:text> </xsl:text>
|
---|
358 |
|
---|
359 | <xsl:choose>
|
---|
360 | <xsl:when test="$toc != ''">
|
---|
361 | <a title="ToC" href="{$toc}">
|
---|
362 | <img alt="ToC" border="0">
|
---|
363 | <xsl:attribute name="src">
|
---|
364 | <xsl:call-template name="toc.image"/>
|
---|
365 | </xsl:attribute>
|
---|
366 | </img>
|
---|
367 | </a>
|
---|
368 | </xsl:when>
|
---|
369 | <xsl:otherwise>
|
---|
370 | <img alt="ToC" border="0">
|
---|
371 | <xsl:attribute name="src">
|
---|
372 | <xsl:call-template name="no.toc.image"/>
|
---|
373 | </xsl:attribute>
|
---|
374 | </img>
|
---|
375 | </xsl:otherwise>
|
---|
376 | </xsl:choose>
|
---|
377 | <xsl:text> </xsl:text>
|
---|
378 |
|
---|
379 | <xsl:choose>
|
---|
380 | <xsl:when test="$prev">
|
---|
381 | <a>
|
---|
382 | <xsl:attribute name="href">
|
---|
383 | <xsl:apply-templates select="$prev" mode="filename"/>
|
---|
384 | </xsl:attribute>
|
---|
385 | <xsl:attribute name="title">
|
---|
386 | <xsl:value-of select="$prev/title"/>
|
---|
387 | </xsl:attribute>
|
---|
388 | <img alt="Prev" border="0">
|
---|
389 | <xsl:attribute name="src">
|
---|
390 | <xsl:call-template name="prev.image"/>
|
---|
391 | </xsl:attribute>
|
---|
392 | </img>
|
---|
393 | </a>
|
---|
394 | </xsl:when>
|
---|
395 | <xsl:otherwise>
|
---|
396 | <img alt="Prev" border="0">
|
---|
397 | <xsl:attribute name="src">
|
---|
398 | <xsl:call-template name="no.prev.image"/>
|
---|
399 | </xsl:attribute>
|
---|
400 | </img>
|
---|
401 | </xsl:otherwise>
|
---|
402 | </xsl:choose>
|
---|
403 | <xsl:text> </xsl:text>
|
---|
404 |
|
---|
405 | <xsl:choose>
|
---|
406 | <xsl:when test="$up">
|
---|
407 | <a>
|
---|
408 | <xsl:attribute name="href">
|
---|
409 | <xsl:apply-templates select="$up" mode="filename"/>
|
---|
410 | </xsl:attribute>
|
---|
411 | <xsl:attribute name="title">
|
---|
412 | <xsl:value-of select="$up/title"/>
|
---|
413 | </xsl:attribute>
|
---|
414 | <img alt="Up" border="0">
|
---|
415 | <xsl:attribute name="src">
|
---|
416 | <xsl:call-template name="up.image"/>
|
---|
417 | </xsl:attribute>
|
---|
418 | </img>
|
---|
419 | </a>
|
---|
420 | </xsl:when>
|
---|
421 | <xsl:otherwise>
|
---|
422 | <img alt="Up" border="0">
|
---|
423 | <xsl:attribute name="src">
|
---|
424 | <xsl:call-template name="no.up.image"/>
|
---|
425 | </xsl:attribute>
|
---|
426 | </img>
|
---|
427 | </xsl:otherwise>
|
---|
428 | </xsl:choose>
|
---|
429 | <xsl:text> </xsl:text>
|
---|
430 |
|
---|
431 | <xsl:choose>
|
---|
432 | <xsl:when test="$next">
|
---|
433 | <a>
|
---|
434 | <xsl:attribute name="href">
|
---|
435 | <xsl:apply-templates select="$next" mode="filename"/>
|
---|
436 | </xsl:attribute>
|
---|
437 | <xsl:attribute name="title">
|
---|
438 | <xsl:value-of select="$next/title"/>
|
---|
439 | </xsl:attribute>
|
---|
440 | <img alt="Next" border="0">
|
---|
441 | <xsl:attribute name="src">
|
---|
442 | <xsl:call-template name="next.image"/>
|
---|
443 | </xsl:attribute>
|
---|
444 | </img>
|
---|
445 | </a>
|
---|
446 | </xsl:when>
|
---|
447 | <xsl:otherwise>
|
---|
448 | <img alt="Next" border="0">
|
---|
449 | <xsl:attribute name="src">
|
---|
450 | <xsl:call-template name="no.next.image"/>
|
---|
451 | </xsl:attribute>
|
---|
452 | </img>
|
---|
453 | </xsl:otherwise>
|
---|
454 | </xsl:choose>
|
---|
455 | <xsl:text> </xsl:text>
|
---|
456 | </td>
|
---|
457 | </tr>
|
---|
458 | </table>
|
---|
459 | <hr class="top-nav-sep"/>
|
---|
460 | </div>
|
---|
461 | </xsl:template>
|
---|
462 |
|
---|
463 | <!-- ====================================================================== -->
|
---|
464 |
|
---|
465 | <xsl:template name="bottom-nav"/>
|
---|
466 |
|
---|
467 | </xsl:stylesheet>
|
---|