view gnv-artifacts/contrib/palette2polygonVM.xsl @ 1032:df6a640f590c

Renamed mapserver wrapper. gnv-artifacts/trunk@1070 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 06 May 2010 09:12:45 +0000
parents 2ab49a1e29ca
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