view 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 source
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:output
        method="text" version="1.0" encoding="UTF-8" omit-xml-declaration="no" />

    <xsl:template match="*">
        <xsl:apply-templates />
    </xsl:template>

    <xsl:template match="range">
        CLASS
            NAME "<xsl:value-of select="./@description" />"
            EXPRESSION ("[CLASS]"="<xsl:value-of select ="./@index" />")
            STYLE
                COLOR "<xsl:value-of select="./@rgb" />"
            END
        END
    </xsl:template>

</xsl:stylesheet>

http://dive4elements.wald.intevation.org