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.5 KB
|
Line | |
---|
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>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.