relpipe-data/makra/unix.xsl
author František Kučera <franta-hg@frantovo.cz>
Wed, 19 Dec 2018 23:05:52 +0100
branchv_0
changeset 217 3e2fd4ce9f02
parent 146 8c2e2dbee5cc
permissions -rw-r--r--
hacker culture and the GNU way

<?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">

	<xsl:template match="m:unix[@tvar = 'oboje']">*NIX (formerly UNIX, now mostly GNU/Linux)</xsl:template>
	<xsl:template match="m:unix[@tvar = 'zkratka']"><abbr title="formerly UNIX, now mostly GNU/Linux">*NIX</abbr></xsl:template>
	<xsl:template match="m:unix[@tvar = 'vysvětlivka']">formerly UNIX (sometimes called *NIX), now mostly <a href="https://www.gnu.org/">GNU</a>/<a href="https://www.kernel.org/">Linux</a></xsl:template>
	<xsl:template match="m:unix">*NIX</xsl:template>

</xsl:stylesheet>