1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
6 <xsl:import href="slides-common.xsl"/>
8 <xsl:param name="but-fforward.png" select="'active/but-fforward.png'"/>
9 <xsl:param name="but-info.png" select="'active/but-info.png'"/>
10 <xsl:param name="but-next.png" select="'active/but-next.png'"/>
11 <xsl:param name="but-prev.png" select="'active/but-prev.png'"/>
12 <xsl:param name="but-rewind.png" select="'active/but-rewind.png'"/>
14 <xsl:param name="but-xfforward.png" select="'inactive/but-fforward.png'"/>
15 <xsl:param name="but-xinfo.png" select="'inactive/but-info.png'"/>
16 <xsl:param name="but-xnext.png" select="'inactive/but-next.png'"/>
17 <xsl:param name="but-xprev.png" select="'inactive/but-prev.png'"/>
18 <xsl:param name="but-xrewind.png" select="'inactive/but-rewind.png'"/>
20 <!-- overrides for this stylesheet -->
21 <xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/>
22 <xsl:param name="toc.width" select="40"/>
24 <!-- ============================================================ -->
26 <xsl:template match="slides">
27 <xsl:call-template name="write.chunk">
28 <xsl:with-param name="indent" select="$output.indent"/>
29 <xsl:with-param name="filename" select="concat($base.dir, $toc.html)"/>
30 <xsl:with-param name="content">
33 <title><xsl:value-of select="slidesinfo/title"/></title>
34 <xsl:if test="$css.stylesheet != ''">
35 <link type="text/css" rel="stylesheet">
36 <xsl:attribute name="href">
37 <xsl:call-template name="css.stylesheet"/>
41 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
43 <xsl:call-template name="links">
44 <xsl:with-param name="next" select="/slides"/>
45 <xsl:with-param name="tocfile" select="$toc.html"/>
48 <xsl:if test="$keyboard.nav != 0">
49 <script language="javascript" type="text/javascript">
50 <xsl:text> </xsl:text>
54 <xsl:if test="$keyboard.nav != 0">
55 <xsl:call-template name="ua.js"/>
56 <xsl:call-template name="xbDOM.js">
57 <xsl:with-param name="language" select="'javascript'"/>
59 <xsl:call-template name="xbLibrary.js"/>
60 <script language="javascript" type="text/javascript">
61 <xsl:text disable-output-escaping="yes">
63 xblibrary = new xbLibrary('../browser');
67 <xsl:call-template name="xbStyle.js"/>
68 <xsl:call-template name="xbCollapsibleLists.js"/>
69 <xsl:call-template name="slides.js">
70 <xsl:with-param name="language" select="'javascript'"/>
74 <body class="tocpage">
75 <xsl:call-template name="body.attributes"/>
76 <xsl:if test="$keyboard.nav != 0">
77 <xsl:attribute name="onkeypress">
78 <xsl:text>navigate(event)</xsl:text>
82 <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
85 <td><xsl:apply-templates select="." mode="header"/></td>
89 <td width="{$toc.width}" valign="top" align="left">
90 <xsl:if test="$toc.bg.color != ''">
91 <xsl:attribute name="bgcolor">
92 <xsl:value-of select="$toc.bg.color"/>
96 <xsl:call-template name="vertical-navigation">
97 <xsl:with-param name="next" select="/slides"/>
98 <xsl:with-param name="tocfile"/>
102 <td valign="top" align="left">
103 <xsl:if test="$body.bg.color != ''">
104 <xsl:attribute name="bgcolor">
105 <xsl:value-of select="$body.bg.color"/>
109 <div class="{name(.)}">
111 <div class="toc-body">
112 <xsl:call-template name="toc-body"/>
121 <td><xsl:apply-templates select="." mode="footer"/></td>
129 <xsl:apply-templates/>
132 <xsl:template match="slidesinfo">
133 <xsl:call-template name="write.chunk">
134 <xsl:with-param name="indent" select="$output.indent"/>
135 <xsl:with-param name="filename" select="concat($base.dir, $titlefoil.html)"/>
136 <xsl:with-param name="content">
139 <title><xsl:value-of select="title"/></title>
140 <xsl:if test="$css.stylesheet != ''">
141 <link type="text/css" rel="stylesheet">
142 <xsl:attribute name="href">
143 <xsl:call-template name="css.stylesheet"/>
147 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
149 <xsl:call-template name="links">
150 <xsl:with-param name="next" select="(/slides/foil|/slides/foilgroup)[1]"/>
151 <xsl:with-param name="tocfile" select="$toc.html"/>
154 <xsl:if test="$keyboard.nav != 0">
155 <script language="javascript" type="text/javascript">
156 <xsl:text> </xsl:text>
160 <xsl:if test="$keyboard.nav != 0">
161 <xsl:call-template name="ua.js"/>
162 <xsl:call-template name="xbDOM.js">
163 <xsl:with-param name="language" select="'javascript'"/>
165 <xsl:call-template name="xbLibrary.js"/>
166 <script language="javascript" type="text/javascript">
167 <xsl:text disable-output-escaping="yes">
169 xblibrary = new xbLibrary('../browser');
173 <xsl:call-template name="xbStyle.js"/>
174 <xsl:call-template name="xbCollapsibleLists.js"/>
175 <xsl:call-template name="slides.js">
176 <xsl:with-param name="language" select="'javascript'"/>
180 <body class="titlepage">
181 <xsl:call-template name="body.attributes"/>
182 <xsl:if test="$keyboard.nav != 0">
183 <xsl:attribute name="onkeypress">
184 <xsl:text>navigate(event)</xsl:text>
188 <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
191 <td><xsl:apply-templates select="." mode="header"/></td>
195 <td width="{$toc.width}" valign="top" align="left">
196 <xsl:if test="$toc.bg.color != ''">
197 <xsl:attribute name="bgcolor">
198 <xsl:value-of select="$toc.bg.color"/>
202 <xsl:call-template name="vertical-navigation">
203 <xsl:with-param name="first"/>
204 <xsl:with-param name="last" select="(following::foilgroup|following::foil)[last()]"/>
205 <xsl:with-param name="next" select="(following::foilgroup|following::foil)[1]"/>
209 <td valign="top" align="left">
210 <xsl:if test="$body.bg.color != ''">
211 <xsl:attribute name="bgcolor">
212 <xsl:value-of select="$body.bg.color"/>
215 <div class="{name(.)}">
216 <xsl:apply-templates mode="titlepage.mode"/>
223 <td><xsl:apply-templates select="." mode="footer"/></td>
232 <xsl:template match="foilgroup">
233 <xsl:param name="thisfoilgroup">
234 <xsl:apply-templates select="." mode="filename"/>
237 <xsl:variable name="id">
238 <xsl:call-template name="object.id"/>
241 <xsl:variable name="nextfoil" select="foil[1]"/>
242 <xsl:variable name="lastfoil" select="(descendant::foil|following::foil)[last()]"/>
243 <xsl:variable name="prevfoil" select="(preceding::foil|/slides)[last()]"/>
245 <xsl:call-template name="write.chunk">
246 <xsl:with-param name="indent" select="$output.indent"/>
247 <xsl:with-param name="filename" select="concat($base.dir, $thisfoilgroup)"/>
248 <xsl:with-param name="content">
251 <title><xsl:value-of select="title"/></title>
252 <xsl:if test="$css.stylesheet != ''">
253 <link type="text/css" rel="stylesheet">
254 <xsl:attribute name="href">
255 <xsl:call-template name="css.stylesheet"/>
259 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
261 <xsl:call-template name="links">
262 <xsl:with-param name="prev" select="$prevfoil"/>
263 <xsl:with-param name="next" select="$nextfoil"/>
266 <xsl:if test="$keyboard.nav != 0">
267 <script language="javascript" type="text/javascript">
268 <xsl:text> </xsl:text>
272 <xsl:if test="$keyboard.nav != 0">
273 <xsl:call-template name="ua.js"/>
274 <xsl:call-template name="xbDOM.js">
275 <xsl:with-param name="language" select="'javascript'"/>
277 <xsl:call-template name="xbLibrary.js"/>
278 <script language="javascript" type="text/javascript">
279 <xsl:text disable-output-escaping="yes">
281 xblibrary = new xbLibrary('../browser');
285 <xsl:call-template name="xbStyle.js"/>
286 <xsl:call-template name="xbCollapsibleLists.js"/>
287 <xsl:call-template name="slides.js">
288 <xsl:with-param name="language" select="'javascript'"/>
292 <body class="foilgroup">
293 <xsl:call-template name="body.attributes"/>
294 <xsl:if test="$keyboard.nav != 0">
295 <xsl:attribute name="onkeypress">
296 <xsl:text>navigate(event)</xsl:text>
300 <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
303 <td><xsl:apply-templates select="." mode="header"/></td>
307 <td width="{$toc.width}" valign="top" align="left">
308 <xsl:if test="$toc.bg.color != ''">
309 <xsl:attribute name="bgcolor">
310 <xsl:value-of select="$toc.bg.color"/>
314 <xsl:call-template name="vertical-navigation">
315 <xsl:with-param name="last" select="$lastfoil"/>
316 <xsl:with-param name="prev" select="$prevfoil"/>
317 <xsl:with-param name="next" select="$nextfoil"/>
321 <td valign="top" align="left">
322 <xsl:if test="$body.bg.color != ''">
323 <xsl:attribute name="bgcolor">
324 <xsl:value-of select="$body.bg.color"/>
328 <div class="{name(.)}">
329 <xsl:apply-templates/>
336 <td><xsl:apply-templates select="." mode="footer"/></td>
344 <xsl:apply-templates select="foil"/>
347 <xsl:template match="foil">
348 <xsl:variable name="id">
349 <xsl:call-template name="object.id"/>
352 <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
354 <xsl:variable name="thisfoil">
355 <xsl:apply-templates select="." mode="filename"/>
358 <xsl:variable name="nextfoil" select="(following::foil |following::foilgroup)[1]"/>
360 <xsl:variable name="lastfoil" select="following::foil[last()]"/>
362 <xsl:variable name="prevfoil" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
364 <xsl:call-template name="write.chunk">
365 <xsl:with-param name="indent" select="$output.indent"/>
366 <xsl:with-param name="filename" select="concat($base.dir, $thisfoil)"/>
367 <xsl:with-param name="content">
370 <title><xsl:value-of select="title"/></title>
371 <xsl:if test="$css.stylesheet != ''">
372 <link type="text/css" rel="stylesheet">
373 <xsl:attribute name="href">
374 <xsl:call-template name="css.stylesheet"/>
378 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
380 <xsl:call-template name="links">
381 <xsl:with-param name="prev" select="$prevfoil"/>
382 <xsl:with-param name="next" select="$nextfoil"/>
385 <xsl:if test="$keyboard.nav != 0">
386 <script language="javascript" type="text/javascript">
387 <xsl:text> </xsl:text>
391 <xsl:if test="$keyboard.nav != 0">
392 <xsl:call-template name="ua.js"/>
393 <xsl:call-template name="xbDOM.js">
394 <xsl:with-param name="language" select="'javascript'"/>
396 <xsl:call-template name="xbLibrary.js"/>
397 <script language="javascript" type="text/javascript">
398 <xsl:text disable-output-escaping="yes">
400 xblibrary = new xbLibrary('../browser');
404 <xsl:call-template name="xbStyle.js"/>
405 <xsl:call-template name="xbCollapsibleLists.js"/>
406 <xsl:call-template name="slides.js">
407 <xsl:with-param name="language" select="'javascript'"/>
412 <xsl:call-template name="body.attributes"/>
413 <xsl:if test="$keyboard.nav != 0">
414 <xsl:attribute name="onkeypress">
415 <xsl:text>navigate(event)</xsl:text>
419 <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
422 <td><xsl:apply-templates select="." mode="header"/></td>
426 <td width="{$toc.width}" valign="top" align="left">
427 <xsl:if test="$toc.bg.color != ''">
428 <xsl:attribute name="bgcolor">
429 <xsl:value-of select="$toc.bg.color"/>
433 <xsl:call-template name="vertical-navigation">
434 <xsl:with-param name="last" select="$lastfoil"/>
435 <xsl:with-param name="prev" select="$prevfoil"/>
436 <xsl:with-param name="next" select="$nextfoil"/>
440 <td valign="top" align="left">
441 <xsl:if test="$body.bg.color != ''">
442 <xsl:attribute name="bgcolor">
443 <xsl:value-of select="$body.bg.color"/>
447 <div class="{name(.)}">
448 <xsl:apply-templates/>
455 <td><xsl:apply-templates select="." mode="footer"/></td>
464 <!-- ============================================================ -->
466 <xsl:template match="slidesinfo" mode="header">
467 <div class="navhead">
472 <xsl:template match="foil|foilgroup" mode="header">
473 <div class="navhead">
474 <table border="0" width="100%" summary="Header table" cellpadding="0" cellspacing="0">
477 <xsl:apply-templates select="/slides/slidesinfo/title" mode="slide.footer.mode"/>
480 <xsl:value-of select="count(preceding::foil) + count(preceding::foilgroup) + count(ancestor::foilgroup) + 1"/>
487 <xsl:template match="slidesinfo" mode="footer">
488 <div class="navfoot">
493 <xsl:template match="foil|foilgroup" mode="footer">
494 <div class="navfoot">
495 <table border="0" width="100%" summary="Header table" cellpadding="0" cellspacing="0">
498 <xsl:text>Slide </xsl:text>
499 <xsl:value-of select="count(preceding::foil) + count(preceding::foilgroup) + count(ancestor::foilgroup) + 1"/>
500 <xsl:text> of </xsl:text>
501 <xsl:value-of select="count(//foil) + count(//foilgroup)"/>
508 <xsl:template match="slides" mode="footer"/>
510 <!-- ============================================================ -->
512 <xsl:template name="vertical-navigation">
513 <xsl:param name="first" select="/slides"/>
514 <xsl:param name="prev"/>
515 <xsl:param name="last"/>
516 <xsl:param name="next"/>
517 <xsl:param name="tocfile" select="$toc.html"/>
521 <xsl:when test="$first">
523 <xsl:attribute name="href">
524 <xsl:apply-templates select="$first" mode="filename"/>
526 <img border="0" alt="First">
527 <xsl:attribute name="src">
528 <xsl:call-template name="graphics-file">
529 <xsl:with-param name="image" select="$but-rewind.png"/>
537 <xsl:attribute name="src">
538 <xsl:call-template name="graphics-file">
539 <xsl:with-param name="image" select="$but-xrewind.png"/>
547 <xsl:when test="$prev">
549 <xsl:attribute name="href">
550 <xsl:apply-templates select="$prev" mode="filename"/>
552 <img border="0" alt="Previous">
553 <xsl:attribute name="src">
554 <xsl:call-template name="graphics-file">
555 <xsl:with-param name="image" select="$but-prev.png"/>
563 <xsl:attribute name="src">
564 <xsl:call-template name="graphics-file">
565 <xsl:with-param name="image" select="$but-xprev.png"/>
573 <xsl:when test="$next">
575 <xsl:attribute name="href">
576 <xsl:apply-templates select="$next" mode="filename"/>
578 <img border="0" alt="Last">
579 <xsl:attribute name="src">
580 <xsl:call-template name="graphics-file">
581 <xsl:with-param name="image" select="$but-next.png"/>
589 <xsl:attribute name="src">
590 <xsl:call-template name="graphics-file">
591 <xsl:with-param name="image" select="$but-xnext.png"/>
599 <xsl:when test="$last">
601 <xsl:attribute name="href">
602 <xsl:apply-templates select="$last" mode="filename"/>
604 <img border="0" alt="Next">
605 <xsl:attribute name="src">
606 <xsl:call-template name="graphics-file">
607 <xsl:with-param name="image" select="$but-fforward.png"/>
615 <xsl:attribute name="src">
616 <xsl:call-template name="graphics-file">
617 <xsl:with-param name="image" select="$but-xfforward.png"/>
628 <xsl:when test="$tocfile != ''">
629 <a href="{$tocfile}">
630 <img border="0" alt="ToC">
631 <xsl:attribute name="src">
632 <xsl:call-template name="graphics-file">
633 <xsl:with-param name="image" select="$but-info.png"/>
640 <img border="0" alt="ToC">
641 <xsl:attribute name="src">
642 <xsl:call-template name="graphics-file">
643 <xsl:with-param name="image" select="$but-xinfo.png"/>