šablona/syntaxe.xsl
changeset 78 7e478bfa5694
parent 76 c7746d95283d
child 87 25dec6931f18
equal deleted inserted replaced
77:2f11f0ba6f13 78:7e478bfa5694
    20 	xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace"
    20 	xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace"
    21 	xmlns:j="java:cz.frantovo.xmlWebGenerator.makra.Pre"
    21 	xmlns:j="java:cz.frantovo.xmlWebGenerator.makra.Pre"
    22 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    22 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    23 	xmlns:fn="http://www.w3.org/2005/xpath-functions">
    23 	xmlns:fn="http://www.w3.org/2005/xpath-functions">
    24 	<xsl:output method="text" encoding="UTF-8"/>
    24 	<xsl:output method="text" encoding="UTF-8"/>
    25 		
    25 
       
    26 	<!--
       
    27 		Vytvoří CSS soubor pro zvýrazňování syntaxe
       
    28 	-->
    26 	<xsl:template match="/">
    29 	<xsl:template match="/">
    27 		<xsl:if test="k:web/k:css[text() = 'css/syntaxe.css']"><xsl:value-of select="j:generujCssSyntaxe()"/></xsl:if>
    30 		<xsl:if test="k:web/k:css[text() = 'css/syntaxe.css']"><xsl:value-of select="j:generujCssSyntaxe()"/></xsl:if>
    28 	</xsl:template>
    31 	</xsl:template>
    29 
    32 
    30 </xsl:stylesheet>
    33 </xsl:stylesheet>