šablona/syntaxe.xsl
author František Kučera <franta-hg@frantovo.cz>
Tue, 23 Aug 2011 18:43:44 +0200
changeset 35 860cc8ae1808
parent 31 da6ae32853cb
child 61 9503eb8377f1
permissions -rw-r--r--
zjednodušení a zpřehlednění kódu diagramu #13
franta-hg@31
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@31
     2
<xsl:stylesheet version="2.0"
franta-hg@31
     3
	xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace"
franta-hg@31
     4
	xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce"
franta-hg@31
     5
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
franta-hg@31
     6
	xmlns:fn="http://www.w3.org/2005/xpath-functions">
franta-hg@31
     7
	<xsl:output method="text" encoding="UTF-8"/>
franta-hg@31
     8
		
franta-hg@31
     9
	<xsl:template match="/">
franta-hg@31
    10
		<xsl:if test="k:web/k:css[text() = 'css/syntaxe.css']"><xsl:value-of select="j:generujCssSyntaxe()"/></xsl:if>
franta-hg@31
    11
	</xsl:template>
franta-hg@31
    12
franta-hg@31
    13
</xsl:stylesheet>