]> matita.cs.unibo.it Git - helm.git/blob - helm/www/lambdadelta/xslt/ld_web_root.xsl
planned dehyphenation of lambdadelta eventually took place!
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xsl:stylesheet version="1.0"
4                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5                 xmlns:date="http://exslt.org/dates-and-times"
6                 xmlns:ld="http://lambdadelta.info"
7                 xmlns="http://www.w3.org/1999/xhtml"
8                 extension-element-prefixes="date"
9 >
10
11 <xsl:template match="ld:section">
12    <div class="head2">
13       <xsl:apply-templates/>
14    </div>
15 </xsl:template>
16
17 <xsl:template match="ld:body">
18    <div class="text">
19       <xsl:apply-templates/>
20    </div>
21 </xsl:template>
22
23 <xsl:template match="ld:rlink">
24    <a href="{$baseurl}{@to}">
25       <xsl:apply-templates/>
26    </a>
27 </xsl:template>
28
29 <xsl:template match="ld:news">
30    <ul><li>
31       <span class="date"><xsl:value-of select="@date"/></span>
32       <xsl:apply-templates/>
33    </li></ul>
34 </xsl:template>
35
36 <xsl:template match="ld:table">
37    <div class="text">
38       <xsl:call-template name="xhtbl"/>
39    </div>
40 </xsl:template>
41
42 <xsl:template match="ld:footer">
43    <xsl:call-template name="rule"/>
44    <div class="spacer"><br/></div>   
45    <div class="spacer">
46       <xsl:call-template name="xhtml"/>
47       <xsl:call-template name="css"/>
48       <xsl:call-template name="xslt"/>
49       <xsl:apply-templates/>
50       <xsl:call-template name="png"/>
51       <xsl:call-template name="browser"/>
52    </div>
53    <div class="spacer"><br/></div>   
54    <div class="spacer">
55       <xsl:value-of select="'Last update: '"/> 
56       <xsl:value-of select="date:date-time()"/>
57    </div>
58 </xsl:template>
59
60 <xsl:template match="ld:helena-label">
61    <xsl:call-template name="helena"/>
62 </xsl:template>
63
64 <xsl:template match="ld:page">
65    <html xmlns="http://www.w3.org/1999/xhtml"><head>
66       <meta http-equiv="Content-Language" content="en-us"/>
67       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
68       <meta http-equiv="Content-Style-Type" content="text/css"/>
69       <meta name="author" content="Ferruccio Guidi"/>
70       <meta name="description" content="{@description}"/>
71       <title><xsl:value-of select="@title"/></title>
72       <link rel="stylesheet" type="text/css"
73             href="{$baseurl}css/ld_web.css"
74       />
75       <link rel="stylesheet" type="text/css"
76             href="{$baseurl}css/lddl.css"
77       />
78       <link rel="stylesheet" type="text/css"
79             href="{$baseurl}css/xhtbl.css"
80       />
81       <link rel="shortcut icon" 
82             href="{$baseurl}images/crux_16.ico"
83       />
84    </head><body lang="en-US">
85       <xsl:call-template name="home"/>
86       <div class="head1"><xsl:value-of select="@head"/></div>
87       <xsl:call-template name="rule"/>
88       <xsl:apply-templates/>
89    </body></html>
90 </xsl:template>
91
92 </xsl:stylesheet>