relpipe-data/makra/classic-example.xsl
author František Kučera <franta-hg@frantovo.cz>
Thu, 06 Dec 2018 21:16:49 +0100
branchv_0
changeset 189 47907749817f
parent 144 ee7e96151673
permissions -rw-r--r--
screenshots: Haiku
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
141
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
<xsl:stylesheet version="2.0"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
	xmlns="http://www.w3.org/1999/xhtml"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
	xmlns:h="http://www.w3.org/1999/xhtml"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
	xmlns:s="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
	xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
	xmlns:fn="http://www.w3.org/2005/xpath-functions"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
	xmlns:svg="http://www.w3.org/2000/svg"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
	exclude-result-prefixes="fn h s k m xs">
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
144
ee7e96151673 classic pipeline example
František Kučera <franta-hg@frantovo.cz>
parents: 143
diff changeset
    14
	<xsl:template match="m:classic-example"><pre>cat animals.txt | grep dog | cut -d " " -f 2 | tr a-z A-Z</pre></xsl:template>
141
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    16
</xsl:stylesheet>
0a986eba785a name macro
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17