source: trunk/Distribution/XSL/slides/xhtml/css.xsl

Last change on this file was 2, checked in by jkacer, 18 years ago

Added all DocBook Framework stuff:

  • DocBook DTD
  • Transformation software FOP 0.20.5 and Saxon 6
  • XSL styles
  • Rexx scripts

Also added some WarpIN-related stuff for creation of WarpIN installation packages.
This state corresponds to version 1.0.0 from November 2005, just slightly modified to carry versioning information (Rexx scripts).

File size: 1.6 KB
Line 
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<!-- ====================================================================== -->
7
8<xsl:template name="css-file">
9 <xsl:param name="css" select="'slides.css'"/>
10
11 <xsl:variable name="source.css.dir">
12 <xsl:call-template name="dbhtml-attribute">
13 <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
14 <xsl:with-param name="attribute" select="'css-stylesheet-dir'"/>
15 </xsl:call-template>
16 </xsl:variable>
17
18 <xsl:choose>
19 <xsl:when test="$source.css.dir != ''">
20 <xsl:value-of select="$source.css.dir"/>
21 <xsl:text>/</xsl:text>
22 </xsl:when>
23 <xsl:when test="$css.stylesheet.dir != ''">
24 <xsl:value-of select="$css.stylesheet.dir"/>
25 <xsl:text>/</xsl:text>
26 </xsl:when>
27 <xsl:otherwise>
28 <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
29 </xsl:otherwise>
30 </xsl:choose>
31 <xsl:value-of select="$css"/>
32</xsl:template>
33
34<!-- ====================================================================== -->
35<!-- active navigation images -->
36
37<xsl:template name="css.stylesheet">
38 <xsl:param name="css" select="$css.stylesheet"/>
39 <!-- Danger Will Robinson: template shadows parameter -->
40 <xsl:call-template name="css-file">
41 <xsl:with-param name="css" select="$css"/>
42 </xsl:call-template>
43</xsl:template>
44
45<!-- ====================================================================== -->
46
47</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.