annotate gnv-artifacts/contrib/palette2polygonVM.xsl @ 1116:2d393d79c097

Added author names. gnv-artifacts/trunk@1262 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 04 Nov 2010 21:46:58 +0000
parents f953c9a559d8
children
rev   line source
628
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
1115
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
2
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
3 <!--
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
4 Copyright (c) 2010 by Intevation GmbH
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
5
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
6 This program is free software under the LGPL (>=v2.1)
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
7 Read the file LGPL.txt coming with the software for details
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
8 or visit http://www.gnu.org/licenses/ if it does not exist.
1116
2d393d79c097 Added author names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1115
diff changeset
9
2d393d79c097 Added author names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1115
diff changeset
10 Author: Ingo Weinzierl (ingo.weinzierl@intevation.de)
1115
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
11 -->
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 861
diff changeset
12
628
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15 <xsl:output
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 method="text" version="1.0" encoding="UTF-8" omit-xml-declaration="no" />
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
18 <xsl:template match="*">
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
19 <xsl:apply-templates />
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
20 </xsl:template>
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
21
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
22 <xsl:template match="range">
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
23 CLASS
861
2ab49a1e29ca Added units to legend text of a wms layer (issue246).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 628
diff changeset
24 NAME "<xsl:value-of select="./@description" />"
628
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
25 EXPRESSION ("[CLASS]"="<xsl:value-of select ="./@index" />")
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
26 STYLE
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
27 COLOR "<xsl:value-of select="./@rgb" />"
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
28 END
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
29 END
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
30 </xsl:template>
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
31
bfe33e658576 Added XSLT sheet to transform palette xml files into a style definition template used for mapfile generation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
32 </xsl:stylesheet>

http://dive4elements.wald.intevation.org