Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/contrib/palette2polygonVM.xsl @ 657:af3f56758f59
merged gnv-artifacts/0.5
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:53 +0200 |
parents | bfe33e658576 |
children | 2ab49a1e29ca |
comparison
equal
deleted
inserted
replaced
590:5f5f273c8566 | 657:af3f56758f59 |
---|---|
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="./@from" /> - <xsl:value-of select="./@to" />" | |
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> |