2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 <!-- ====================================================================== -->
7 <xsl:template name="css-file">
8 <xsl:param name="css" select="'slides.css'"/>
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'"/>
18 <xsl:when test="$source.css.dir != ''">
19 <xsl:value-of select="$source.css.dir"/>
20 <xsl:text>/</xsl:text>
22 <xsl:when test="$css.stylesheet.dir != ''">
23 <xsl:value-of select="$css.stylesheet.dir"/>
24 <xsl:text>/</xsl:text>
27 <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
30 <xsl:value-of select="$css"/>
33 <!-- ====================================================================== -->
34 <!-- active navigation images -->
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"/>
44 <!-- ====================================================================== -->