view gnv-artifacts/contrib/palette2polygonVM.xsl @ 834:520a3b4da484

ISSUE232: SQL-Exception caused by missing Mesh-Width-Configuration gnv-artifacts/trunk@933 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 16 Apr 2010 11:45:36 +0000
parents bfe33e658576
children 2ab49a1e29ca
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="./@from" /> - <xsl:value-of select="./@to" />"
            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