šablona/syntaxe.xsl
author František Kučera <franta-hg@frantovo.cz>
Mon, 22 Aug 2011 13:57:20 +0200
changeset 31 da6ae32853cb
child 61 9503eb8377f1
permissions -rw-r--r--
Zvýrazňování syntaxe #12 – prakticky hotové.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
	xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace"
	xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:fn="http://www.w3.org/2005/xpath-functions">
	<xsl:output method="text" encoding="UTF-8"/>
		
	<xsl:template match="/">
		<xsl:if test="k:web/k:css[text() = 'css/syntaxe.css']"><xsl:value-of select="j:generujCssSyntaxe()"/></xsl:if>
	</xsl:template>

</xsl:stylesheet>