view gnv-artifacts/contrib/palette2polygonVM.xsl @ 1074:649f564a5184

Implemented a new output state and chart type for horizontal profiles using vector data. gnv-artifacts/trunk@1174 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 08 Jun 2010 13:00:58 +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