comparison gnv-artifacts/contrib/palette2polygonVM.xsl @ 875:5e9efdda6894

merged gnv-artifacts/1.0
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:13:56 +0200
parents 2ab49a1e29ca
children f953c9a559d8
comparison
equal deleted inserted replaced
722:bb3ffe7d719e 875:5e9efdda6894
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
4 <xsl:output
5 method="text" version="1.0" encoding="UTF-8" omit-xml-declaration="no" />
6
7 <xsl:template match="*">
8 <xsl:apply-templates />
9 </xsl:template>
10
11 <xsl:template match="range">
12 CLASS
13 NAME "<xsl:value-of select="./@description" />"
14 EXPRESSION ("[CLASS]"="<xsl:value-of select ="./@index" />")
15 STYLE
16 COLOR "<xsl:value-of select="./@rgb" />"
17 END
18 END
19 </xsl:template>
20
21 </xsl:stylesheet>

http://dive4elements.wald.intevation.org