]> git.stg.codes - stg.git/blob - doc/xslt/slides/xhtml/flat.xsl
Set output encoding to utf-8.
[stg.git] / doc / xslt / slides / xhtml / flat.xsl
1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
5
6 <xsl:import href="slides-common.xsl"/>
7
8 <xsl:template match="/">
9   <html>
10     <head>
11       <title><xsl:value-of select="/slides/slidesinfo/title"/></title>
12     </head>
13     <body>
14       <xsl:apply-templates/>
15     </body>
16   </html>
17 </xsl:template>
18
19 <xsl:template match="slidesinfo">
20   <xsl:variable name="id">
21     <xsl:call-template name="object.id"/>
22   </xsl:variable>
23
24   <div id="{$id}" class="titlepage">
25     <div class="titlepage-body">
26       <xsl:call-template name="titlepage-body"/>
27     </div>
28   </div>
29 </xsl:template>
30
31 <xsl:template match="slides" mode="toc">
32   <!-- nop -->
33 </xsl:template>
34
35 <xsl:template match="foil">
36   <xsl:variable name="id">
37     <xsl:call-template name="object.id"/>
38   </xsl:variable>
39
40   <div class="{name(.)}" id="{$id}">
41     <div class="foil-body">
42       <xsl:call-template name="foil-body"/>
43     </div>
44     <xsl:call-template name="process.footnotes"/>
45   </div>
46 </xsl:template>
47
48 <xsl:template match="foilgroup">
49   <xsl:variable name="id">
50     <xsl:call-template name="object.id"/>
51   </xsl:variable>
52
53   <div class="{name(.)}" id="{$id}">
54     <div class="foilgroup-body">
55       <xsl:call-template name="foilgroup-body"/>
56     </div>
57     <xsl:call-template name="process.footnotes"/>
58   </div>
59
60   <xsl:apply-templates select="foil"/>
61 </xsl:template>
62
63 <xsl:template match="author" mode="titlepage.mode">
64   <div class="{name(.)}">
65     <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2>
66     <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
67     <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
68   </div>
69 </xsl:template>
70
71 </xsl:stylesheet>