view gnv-artifacts/contrib/palette2polygonVM.xsl @ 1105:19813e72ec06

Added missing column MESHID for csv export on product 'Horizontales Schnittprofil' (issue284). gnv-artifacts/trunk@1235 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 28 Jun 2010 17:44:40 +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