source: trunk/Distribution/XSL/slides/html/flat.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.7 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<xsl:import href="slides-common.xsl"/>
6
7<xsl:template match="/">
8 <html>
9 <head>
10 <title><xsl:value-of select="/slides/slidesinfo/title"/></title>
11 </head>
12 <body>
13 <xsl:apply-templates/>
14 </body>
15 </html>
16</xsl:template>
17
18<xsl:template match="slidesinfo">
19 <xsl:variable name="id">
20 <xsl:call-template name="object.id"/>
21 </xsl:variable>
22
23 <div id="{$id}" class="titlepage">
24 <div class="titlepage-body">
25 <xsl:call-template name="titlepage-body"/>
26 </div>
27 </div>
28</xsl:template>
29
30<xsl:template match="slides" mode="toc">
31 <!-- nop -->
32</xsl:template>
33
34<xsl:template match="foil">
35 <xsl:variable name="id">
36 <xsl:call-template name="object.id"/>
37 </xsl:variable>
38
39 <div class="{name(.)}" id="{$id}">
40 <div class="foil-body">
41 <xsl:call-template name="foil-body"/>
42 </div>
43 <xsl:call-template name="process.footnotes"/>
44 </div>
45</xsl:template>
46
47<xsl:template match="foilgroup">
48 <xsl:variable name="id">
49 <xsl:call-template name="object.id"/>
50 </xsl:variable>
51
52 <div class="{name(.)}" id="{$id}">
53 <div class="foilgroup-body">
54 <xsl:call-template name="foilgroup-body"/>
55 </div>
56 <xsl:call-template name="process.footnotes"/>
57 </div>
58
59 <xsl:apply-templates select="foil"/>
60</xsl:template>
61
62<xsl:template match="author" mode="titlepage.mode">
63 <div class="{name(.)}">
64 <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2>
65 <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
66 <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
67 </div>
68</xsl:template>
69
70</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.