vstup/makra/firma.xsl
author František Kučera <franta-hg@frantovo.cz>
Fri, 06 Jul 2012 17:04:13 +0200
changeset 114 9302cf6856ea
parent 113 18bf0044f5ab
permissions -rw-r--r--
#20 Skriptování: firma – pády (parametrizace makra)

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://www.w3.org/1999/xhtml"
	xmlns:s="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
	xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace"
	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:fn="http://www.w3.org/2005/xpath-functions"
	xmlns:svg="http://www.w3.org/2000/svg"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	exclude-result-prefixes="fn h s k m xs">

	<!-- Vypíše název naší firmy: -->
	<xsl:template match="m:firma">Chovatelská stanice a.s.</xsl:template>
	<xsl:template match="m:firma[@pád=1]">Chovatelská stanice a.s.</xsl:template>		<!-- nominativ -->
	<xsl:template match="m:firma[@pád=2]">Chovatelské stanice a.s.</xsl:template>		<!-- genitiv -->
	<xsl:template match="m:firma[@pád=3]">Chovatelské stanici a.s.</xsl:template>		<!-- dativ -->
	<xsl:template match="m:firma[@pád=4]">Chovatelskou stanici a.s.</xsl:template>	<!-- akuzativ -->
	<xsl:template match="m:firma[@pád=5]">Chovatelská stanice a.s.</xsl:template>		<!-- vokativ -->
	<xsl:template match="m:firma[@pád=6]">Chovatelské stanice a.s.</xsl:template>		<!-- lokál -->
	<xsl:template match="m:firma[@pád=7]">Chovatelskou stanicí a.s.</xsl:template>	<!-- instrumentál -->

</xsl:stylesheet>