]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/slides/html/css.xsl
Capitalized the start of a sentence in the bucket section of cataloging.
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / slides / html / css.xsl
1 <?xml version="1.0"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 version="1.0">
4
5 <!-- ====================================================================== -->
6
7 <xsl:template name="css-file">
8   <xsl:param name="css" select="'slides.css'"/>
9
10   <xsl:variable name="source.css.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="'css-stylesheet-dir'"/>
14     </xsl:call-template>
15   </xsl:variable>
16
17   <xsl:choose>
18     <xsl:when test="$source.css.dir != ''">
19       <xsl:value-of select="$source.css.dir"/>
20       <xsl:text>/</xsl:text>
21     </xsl:when>
22     <xsl:when test="$css.stylesheet.dir != ''">
23       <xsl:value-of select="$css.stylesheet.dir"/>
24       <xsl:text>/</xsl:text>
25     </xsl:when>
26     <xsl:otherwise>
27       <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
28     </xsl:otherwise>
29   </xsl:choose>
30   <xsl:value-of select="$css"/>
31 </xsl:template>
32
33 <!-- ====================================================================== -->
34 <!-- active navigation images -->
35
36 <xsl:template name="css.stylesheet">
37   <xsl:param name="css" select="$css.stylesheet"/>
38   <!-- Danger Will Robinson: template shadows parameter -->
39   <xsl:call-template name="css-file">
40     <xsl:with-param name="css" select="$css"/>
41   </xsl:call-template>
42 </xsl:template>
43
44 <!-- ====================================================================== -->
45
46 </xsl:stylesheet>