Changeset 27:037a9f20bf3a for šablona/stránka.xsl
- Timestamp:
- 08/22/11 00:23:38 (13 years ago)
- Branch:
- default
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
šablona/stránka.xsl
r20 r27 6 6 xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace" 7 7 xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro" 8 xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce" 8 9 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 9 10 xmlns:fn="http://www.w3.org/2005/xpath-functions" 10 11 xmlns:svg="http://www.w3.org/2000/svg" 11 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 14 <xsl:output 14 15 method="xml" … … 113 114 </a> 114 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 129 </xsl:stylesheet>