blob: e9e26610b313a56f653ffb5e73c06212b41ce9c8 (
plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xalan="http://xml.apache.org/xalan"
xmlns:InputXSLT="function.inputxslt.application"
exclude-result-prefixes="xalan InputXSLT"
>
<xsl:output
method="xml"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
omit-xml-declaration="yes"
encoding="UTF-8"
indent="yes"
/>
<xsl:variable name="url" select="datasource/meta/url"/>
<xsl:template match="/">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Adrian Kummerländer" />
<meta name="robots" content="all"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title><xsl:call-template name="title-text"/> @ /home/adrian</title>
<link rel="stylesheet" type="text/css" href="{$url}/main.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<div id="wrapper">
<div id="content">
<div id="nav_wrap">
<h1><xsl:value-of select="datasource/meta/title"/></h1>
<ul>
<li><a href="{$url}">Start</a></li>
<li><a href="{$url}/archive">Archive</a></li>
<li><a href="{$url}/projects">Projects</a></li>
<li><a href="{$url}/page/contact">Contact</a></li>
<li class="last_item"><a href="{$url}/rss">RSS</a></li>
</ul>
</div>
<div id="main">
<xsl:apply-templates />
</div>
<div id="footer_wrap">
</div>
<div id="last_line">
<a href="https://github.com/KnairdA/InputXSLT">Made with XSLT</a>
<ul>
<li><a href="{$url}/page/contact">Contact</a></li>
<li class="last_item"><a href="{$url}/rss">RSS</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
</xsl:template>
<xsl:template match="text()|@*"/>
</xsl:stylesheet>
|