Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/contrib/palette2polygonVM.xsl @ 1061:13bea93a070a
Do not call the endOfLife method of the current state before advancing to a next state, because this would remove elements from cache that have been inserted just before - it would be impossible to make use of a cache in that case.
gnv-artifacts/trunk@1144 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 01 Jun 2010 16:59:15 +0000 |
parents | 2ab49a1e29ca |
children | f953c9a559d8 |
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"?> |
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
|
2 <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
|
3 |
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
|
4 <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
|
5 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
|
6 |
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
|
7 <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
|
8 <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
|
9 </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
|
10 |
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
|
11 <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
|
12 CLASS |
861
2ab49a1e29ca
Added units to legend text of a wms layer (issue246).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
628
diff
changeset
|
13 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
|
14 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
|
15 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
|
16 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
|
17 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
|
18 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
|
19 </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
|
20 |
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 </xsl:stylesheet> |