]> matita.cs.unibo.it Git - helm.git/blob - helm/www/lambda_delta/xslt/ld_web_root.xsl
- first version of xhtbl
[helm.git] / helm / www / lambda_delta / 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:ld="http://lambda_delta.info"
6                 xmlns="http://www.w3.org/1999/xhtml"
7 >
8
9 <xsl:template match="ld:section">
10    <div class="head2">
11       <xsl:apply-templates/>
12    </div>
13 </xsl:template>
14
15 <xsl:template match="ld:body">
16    <div class="text">
17       <xsl:apply-templates/>
18    </div>
19 </xsl:template>
20
21 <xsl:template match="ld:table">
22    <div class="text">
23       <xsl:call-template name="xhtbl"/>
24    </div>
25 </xsl:template>
26
27 <xsl:template match="ld:footer">
28    <div class="spacer">
29       <xsl:call-template name="xhtml"/>
30       <xsl:call-template name="css"/>
31       <xsl:call-template name="xslt"/>
32       <xsl:apply-templates/>
33       <xsl:call-template name="png"/>
34       <xsl:call-template name="browser"/>
35    </div>      
36 </xsl:template>
37
38 <xsl:template match="ld:helena-label">
39    <xsl:call-template name="helena"/>
40 </xsl:template>
41
42 <xsl:template match="ld:page">
43    <html xmlns="http://www.w3.org/1999/xhtml"><head>
44       <meta http-equiv="Content-Language" content="en-us"/>
45       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
46       <meta http-equiv="Content-Style-Type" content="text/css"/>
47       <meta name="author" content="Ferruccio Guidi"/>
48       <meta name="description" content="{@description}"/>
49       <title><xsl:value-of select="@title"/></title>
50       <link rel="stylesheet" type="text/css"
51             href="{$baseurl}css/ld_web.css"
52       />
53       <link rel="stylesheet" type="text/css"
54             href="{$baseurl}css/lddl.css"
55       />
56       <link rel="stylesheet" type="text/css"
57             href="{$baseurl}css/xhtbl.css"
58       />
59       <link rel="shortcut icon" 
60             href="{$baseurl}images/crux_16.ico"
61       />
62    </head><body lang="en-US">
63       <xsl:call-template name="home"/>
64       <div class="head1"><xsl:value-of select="@head"/></div>
65       <xsl:call-template name="rule"/>
66       <xsl:apply-templates/>
67    </body></html>
68 </xsl:template>
69
70 </xsl:stylesheet>