diff gnv-artifacts/contrib/palette2polygonVM.xsl @ 861:2ab49a1e29ca

Added units to legend text of a wms layer (issue246). gnv-artifacts/trunk@995 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 27 Apr 2010 10:06:02 +0000
parents bfe33e658576
children f953c9a559d8
line wrap: on
line diff
--- a/gnv-artifacts/contrib/palette2polygonVM.xsl	Mon Apr 26 13:31:11 2010 +0000
+++ b/gnv-artifacts/contrib/palette2polygonVM.xsl	Tue Apr 27 10:06:02 2010 +0000
@@ -10,7 +10,7 @@
 
     <xsl:template match="range">
         CLASS
-            NAME "<xsl:value-of select="./@from" /> - <xsl:value-of select="./@to" />"
+            NAME "<xsl:value-of select="./@description" />"
             EXPRESSION ("[CLASS]"="<xsl:value-of select ="./@index" />")
             STYLE
                 COLOR "<xsl:value-of select="./@rgb" />"

http://dive4elements.wald.intevation.org