-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.xsl
55 lines (49 loc) · 1.3 KB
/
index.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"
indent="yes"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="/">
<html>
<head>
<title>
cxml-stp
</title>
<link rel="stylesheet" type="text/css" href="index.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body style="width: 62em">
<xsl:call-template name="header"/>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="page">
<div id="homepage" class="main">
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="blau">
<span style="color: black">
<xsl:apply-templates/>
</span>
</xsl:template>
<xsl:template match="raute">
<span style="font-size: 12pt">⬗</span>
</xsl:template>
<xsl:template name="header">
<div id="header">
<div style="margin-left: 30px">
<b>
<span>cxml–</span>
<span style="color: #55a6e0">stp</span>
</b>
</div>
</div>
</xsl:template>
</xsl:stylesheet>