equal
deleted
inserted
replaced
3 xmlns="http://www.w3.org/1999/xhtml" |
3 xmlns="http://www.w3.org/1999/xhtml" |
4 xmlns:h="http://www.w3.org/1999/xhtml" |
4 xmlns:h="http://www.w3.org/1999/xhtml" |
5 xmlns:s="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana" |
5 xmlns:s="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana" |
6 xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace" |
6 xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace" |
7 xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro" |
7 xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro" |
|
8 xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce" |
8 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
9 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
9 xmlns:fn="http://www.w3.org/2005/xpath-functions" |
10 xmlns:fn="http://www.w3.org/2005/xpath-functions" |
10 xmlns:svg="http://www.w3.org/2000/svg" |
11 xmlns:svg="http://www.w3.org/2000/svg" |
11 xmlns:xs="http://www.w3.org/2001/XMLSchema" |
12 xmlns:xs="http://www.w3.org/2001/XMLSchema" |
12 exclude-result-prefixes="fn h s k m xs"> |
13 exclude-result-prefixes="fn h s k m j xs"> |
13 <xsl:output |
14 <xsl:output |
14 method="xml" |
15 method="xml" |
15 indent="yes" |
16 indent="yes" |
16 encoding="UTF-8" |
17 encoding="UTF-8" |
17 doctype-public="-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" |
18 doctype-public="-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" |
110 <xsl:value-of select="fn:encode-for-uri(concat(@href, $výstupníPřípona))"/> |
111 <xsl:value-of select="fn:encode-for-uri(concat(@href, $výstupníPřípona))"/> |
111 </xsl:attribute> |
112 </xsl:attribute> |
112 <xsl:apply-templates/> |
113 <xsl:apply-templates/> |
113 </a> |
114 </a> |
114 </xsl:template> |
115 </xsl:template> |
|
116 |
|
117 <!-- |
|
118 Makro pro zvýraznění syntaxe: |
|
119 --> |
|
120 <xsl:template match="m:pre[@jazyk]"> |
|
121 <xsl:value-of disable-output-escaping="yes" select="j:zvýrazniSyntaxi(text(), @jazyk)"/> |
|
122 </xsl:template> |
|
123 <xsl:template match="m:pre"> |
|
124 <!-- Pokud jazyk uveden není, nic nezvýrazňujeme. --> |
|
125 <pre><xsl:apply-templates/></pre> |
|
126 </xsl:template> |
|
127 |
115 |
128 |
116 </xsl:stylesheet> |
129 </xsl:stylesheet> |