blob: 51b5a5b44866ccc102079ad1e474f243dc3d9d97 (
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY copy "©">
<!ENTITY middot "·">
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" version="1.0" extension-element-prefixes="date">
<!-- using encoding="US-ASCII" would make the output compatible with
both ISO-8859-1 and UTF-8 -->
<xsl:output method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<!-- the root directory for the website -->
<xsl:param name="root" select="''"/>
<xsl:template match="html">
<html xmlns="http://www.w3.org/1999/xhtml">
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</html>
</xsl:template>
<xsl:template match="head">
<head xmlns="http://www.w3.org/1999/xhtml">
<link rel="stylesheet" type="text/css" href="//www.documentfoundation.org/themes/tdf/css/layout.css?m=1300292397"/>
<link rel="stylesheet" type="text/css" href="//www.documentfoundation.org/themes/tdf/css/typography.css?m=1292094211"/>
<link rel="stylesheet" type="text/css" href="//www.documentfoundation.org/themes/tdf/css/form.css?m=1305575430"/>
<link rel="icon" href="//elections.documentfoundation.org/favicon.ico"/>
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="node()"/>
</head>
</xsl:template>
<xsl:template match="body">
<body xmlns="http://www.w3.org/1999/xhtml">
<div id="BgContainer">
<div id="Container">
<div id="Header">
<h1>The Document Foundation</h1>
<p>The home of LibreOffice</p>
</div>
<div class="clear">
<!-- -->
</div>
<div id="Layout">
<div class="typography">
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="node()"/>
</div>
</div>
<div class="clear">
<!-- -->
</div>
</div>
<div id="Footer">
<div class="footerTop">
<!-- -->
</div>
<table>
<tr>
<td><a href="http://www.documentfoundation.org/privacy">Privacy Policy</a> | <a href="http://www.documentfoundation.org/imprint">Impressum (Legal Info)</a> | Copyright information: Unless otherwise specified, all text
and images on this website are licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
Attribution-Share Alike 3.0 License</a>. This site is based on the <a href="http://www.gnome.org/">GNOME Foundation</a> election system, whose textual content is itself available under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
Attribution 3.0 License</a>, and the underlying voting code, which is available under GPLv2+. This does not include the source code of LibreOffice, which is licensed under the GNU Lesser General
Public License (<a href="http://www.libreoffice.org/download/license/">Mozilla Public License v2.0</a>).<br/>
"LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos and icons are subject to
international copyright laws. The use of these therefore is subject to our
<a href="http://wiki.documentfoundation.org/TradeMark_Policy">trademark policy</a>.
</td>
</tr>
</table>
</div>
</div>
</body>
</xsl:template>
<!-- copy elements, adding the XHTML namespace to elements with an
empty namespace URI -->
<xsl:template match="*">
<xsl:choose>
<xsl:when test="namespace-uri() = ''">
<xsl:element namespace="http://www.w3.org/1999/xhtml" name="{local-name()}">
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="node()"/>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="node()"/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- get rid of processing instructions -->
<xsl:template match="processing-instruction()">
</xsl:template>
<!-- copy everything else -->
<xsl:template match="node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
|