author | František Kučera <franta-hg@frantovo.cz> |
Sat Jun 23 21:10:21 2012 +0200 (2012-06-23) | |
changeset 101 | 024ee27ce4fa |
parent 87 | 25dec6931f18 |
child 124 | 42aec5217cbf |
permissions | -rw-r--r-- |
franta-hg@1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@61 | 2 |
<!-- |
franta-hg@61 | 3 |
XML Web generátor – program na generování webových stránek |
franta-hg@61 | 4 |
Copyright © 2012 František Kučera (frantovo.cz) |
franta-hg@61 | 5 |
|
franta-hg@61 | 6 |
This program is free software: you can redistribute it and/or modify |
franta-hg@61 | 7 |
it under the terms of the GNU General Public License as published by |
franta-hg@61 | 8 |
the Free Software Foundation, either version 3 of the License, or |
franta-hg@61 | 9 |
(at your option) any later version. |
franta-hg@61 | 10 |
|
franta-hg@61 | 11 |
This program is distributed in the hope that it will be useful, |
franta-hg@61 | 12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
franta-hg@61 | 13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
franta-hg@61 | 14 |
GNU General Public License for more details. |
franta-hg@61 | 15 |
|
franta-hg@61 | 16 |
You should have received a copy of the GNU General Public License |
franta-hg@61 | 17 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
franta-hg@61 | 18 |
--> |
franta-hg@1 | 19 |
<xsl:stylesheet version="2.0" |
franta-hg@1 | 20 |
xmlns="http://www.w3.org/1999/xhtml" |
franta-hg@2 | 21 |
xmlns:h="http://www.w3.org/1999/xhtml" |
franta-hg@18 | 22 |
xmlns:s="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana" |
franta-hg@18 | 23 |
xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace" |
franta-hg@17 | 24 |
xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro" |
franta-hg@27 | 25 |
xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce" |
franta-hg@2 | 26 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
franta-hg@2 | 27 |
xmlns:fn="http://www.w3.org/2005/xpath-functions" |
franta-hg@5 | 28 |
xmlns:svg="http://www.w3.org/2000/svg" |
franta-hg@15 | 29 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
franta-hg@27 | 30 |
exclude-result-prefixes="fn h s k m j xs"> |
franta-hg@2 | 31 |
<xsl:output |
franta-hg@2 | 32 |
method="xml" |
franta-hg@2 | 33 |
indent="yes" |
franta-hg@2 | 34 |
encoding="UTF-8" |
franta-hg@2 | 35 |
doctype-public="-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" |
franta-hg@2 | 36 |
doctype-system="http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"/> |
franta-hg@51 | 37 |
<xsl:include href="stránka-společné.xsl"/> |
franta-hg@1 | 38 |
|
franta-hg@51 | 39 |
<!-- |
franta-hg@51 | 40 |
Šablona stránky |
franta-hg@51 | 41 |
*************** |
franta-hg@51 | 42 |
--> |
franta-hg@1 | 43 |
<xsl:template match="/"> |
franta-hg@1 | 44 |
<html> |
franta-hg@1 | 45 |
<head> |
franta-hg@16 | 46 |
<xsl:if test="$podporaZaostalýchProhlížečů"> |
franta-hg@16 | 47 |
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> |
franta-hg@16 | 48 |
</xsl:if> |
franta-hg@18 | 49 |
<title><xsl:value-of select="s:stránka/s:nadpis"/></title> |
franta-hg@8 | 50 |
<link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate"/> |
franta-hg@10 | 51 |
<link title="Novinky (RSS)" href="rss.xml" type="application/rss+xml" rel="alternate"/> |
franta-hg@18 | 52 |
<xsl:apply-templates select="$konfigurace/k:web/k:js"/> |
franta-hg@51 | 53 |
<xsl:apply-templates select="$konfigurace/k:web/k:css"/> |
franta-hg@1 | 54 |
</head> |
franta-hg@1 | 55 |
<body> |
franta-hg@12 | 56 |
<div id="tělo"> |
franta-hg@77 | 57 |
<xsl:call-template name="vložZáhlaví"/> |
franta-hg@12 | 58 |
<div id="vnitřek"> |
franta-hg@18 | 59 |
<h1><xsl:value-of select="s:stránka/s:nadpis"/></h1> |
franta-hg@77 | 60 |
<xsl:call-template name="vložNabídku"/> |
franta-hg@12 | 61 |
<div id="text"> |
franta-hg@18 | 62 |
<xsl:apply-templates select="s:stránka/h:text/node()"/> |
franta-hg@12 | 63 |
</div> |
franta-hg@12 | 64 |
</div> |
franta-hg@91 | 65 |
<xsl:call-template name="poznámkyPodČarou"/> |
franta-hg@77 | 66 |
<xsl:call-template name="vložZápatí"/> |
franta-hg@12 | 67 |
</div> |
franta-hg@1 | 68 |
</body> |
franta-hg@1 | 69 |
</html> |
franta-hg@1 | 70 |
</xsl:template> |
franta-hg@87 | 71 |
|
franta-hg@1 | 72 |
</xsl:stylesheet> |
franta-hg@87 | 73 |