annotate flys-artifacts/contrib/fixoverview2html.xsl @ 3431:0568ffd29bb2

FixA: Introduced i18n to overview transformation. flys-artifacts/trunk@5091 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 21 Jul 2012 12:26:12 +0000
parents 3353672f9ba2
children 9c39a25aa849
rev   line source
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <xsl:stylesheet
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 version="1.0"
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5
2632
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
6 <xsl:output method="xml" encoding="UTF-8"
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
7 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
8 doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes"/>
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
9
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
10 <xsl:param name="project-uuid">de3f3307-3429-4ff9-8f43-3fb2fcf21b27</xsl:param>
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
11 <xsl:param name="render-checkboxes" select="true()"/>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
12 <xsl:param name="callback"/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
13
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
14 <xsl:param name="locale">de</xsl:param>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
15
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
16 <xsl:decimal-format name="de" decimal-separator=',' grouping-separator='.'/>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
17 <xsl:decimal-format name="en" decimal-separator='.' grouping-separator=','/>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
18
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
19 <xsl:variable name="km-pattern">
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
20 <xsl:choose>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
21 <xsl:when test="$locale = 'de'">0,##</xsl:when>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
22 <xsl:otherwise>0.##</xsl:otherwise>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
23 </xsl:choose>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
24 </xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
25
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
26 <xsl:variable name="i18n-event">Ereignis</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
27 <xsl:variable name="i18n-legend">Legende</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
28 <xsl:variable name="i18n-color">Farbe</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
29 <xsl:variable name="i18n-meaning">Bedeutung</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
30 <xsl:variable name="i18n-around-mnq">um MNQ</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
31 <xsl:variable name="i18n-around-mq">um MQ</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
32 <xsl:variable name="i18n-around-mhq">um MHQ</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
33 <xsl:variable name="i18n-above-hq5">über HQ5</xsl:variable>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
34
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
35 <!-- TODO: Format dates according locale. -->
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
36
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
37 <xsl:template match="@*" mode="min">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
38 <xsl:if test="position() = 1">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
39 <xsl:value-of select="number(.)"/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
40 </xsl:if>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
41 </xsl:template>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
42
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
43 <xsl:template match="@*" mode="max">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
44 <xsl:if test="position() = last()">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
45 <xsl:value-of select="number(.)"/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
46 </xsl:if>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
47 </xsl:template>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
48
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
49 <xsl:variable name="global-min">
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
50 <xsl:choose>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
51 <xsl:when test="count(/fixings/events/event/sector) &gt; 0">
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
52 <xsl:apply-templates mode="min" select="/fixings/events/event/sector/@from">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
53 <xsl:sort data-type="number" select="."/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
54 </xsl:apply-templates>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
55 </xsl:when>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
56 <xsl:otherwise>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
57 <xsl:value-of select="number(/fixings/river/@from)"/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
58 </xsl:otherwise>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
59 </xsl:choose>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
60 </xsl:variable>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
61
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
62 <xsl:variable name="global-max">
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
63 <xsl:choose>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
64 <xsl:when test="count(/fixings/events/event/sector) &gt; 0">
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
65 <xsl:apply-templates mode="max" select="/fixings/events/event/sector/@to">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
66 <xsl:sort data-type="number" select="."/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
67 </xsl:apply-templates>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
68 </xsl:when>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
69 <xsl:otherwise>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
70 <xsl:value-of select="number(/fixings/river/@to)"/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
71 </xsl:otherwise>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
72 </xsl:choose>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
73 </xsl:variable>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
74
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
75 <xsl:template name="percent">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
76 <xsl:param name="sector"/>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
77
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
78 <xsl:variable name="start">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
79 <xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
80 <xsl:when test="number($sector/@from) &lt; $global-min">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
81 <xsl:value-of select="$global-min"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
82 </xsl:when>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
83 <xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
84 <xsl:value-of select="number($sector/@from)"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
85 </xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
86 </xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
87 </xsl:variable>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
88
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
89 <xsl:variable name="end">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
90 <xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
91 <xsl:when test="number($sector/@to) &gt; $global-max">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
92 <xsl:value-of select="$global-max"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
93 </xsl:when>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
94 <xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
95 <xsl:value-of select="number($sector/@to)"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
96 </xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
97 </xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
98 </xsl:variable>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
99
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
100 <xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
101 <xsl:when test="$end &lt; $start">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
102 <xsl:value-of select="number(0)"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
103 </xsl:when>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
104 <xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
105 <xsl:value-of select="100.0 * (($end - $start) div ($global-max - $global-min))"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
106 </xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
107 </xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
108 </xsl:template>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
109
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
110 <xsl:template name="emit-gap-gauge">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
111 <xsl:param name="gauge"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
112 <xsl:call-template name="internal-emit-gap">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
113 <xsl:with-param name="sector" select="$gauge"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
114 <xsl:with-param name="preds" select="$gauge/preceding-sibling::gauge"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
115 </xsl:call-template>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
116 </xsl:template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
117
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
118 <xsl:template name="emit-gap">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
119 <xsl:param name="sector"/>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
120 <xsl:call-template name="internal-emit-gap">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
121 <xsl:with-param name="sector" select="$sector"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
122 <xsl:with-param name="preds" select="$sector/preceding-sibling::sector"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
123 </xsl:call-template>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
124 </xsl:template>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
125
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
126 <xsl:template name="internal-emit-gap">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
127 <xsl:param name="sector"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
128 <xsl:param name="preds"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
129
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
130 <xsl:variable name="start">
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
131 <xsl:choose>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
132 <xsl:when test="number($sector/@from) &lt; $global-min">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
133 <xsl:value-of select="$global-min"/>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
134 </xsl:when>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
135 <xsl:otherwise>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
136 <xsl:value-of select="$sector/@from"/>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
137 </xsl:otherwise>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
138 </xsl:choose>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
139 </xsl:variable>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
140
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
141 <xsl:if test="$start &lt; $global-max">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
142 <xsl:variable name="num-preds" select="count($preds)"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
143 <xsl:variable name="prev-end">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
144 <xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
145 <xsl:when test="count($preds) &lt; 1">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
146 <xsl:value-of select="$global-min"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
147 </xsl:when>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
148 <xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
149 <xsl:value-of select="number($preds[last()]/@to)"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
150 </xsl:otherwise>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
151 </xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
152 </xsl:variable>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
153
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
154 <xsl:if test="$prev-end &lt; $global-max">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
155 <xsl:variable name="gap-len" select="$start - $prev-end"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
156 <xsl:if test="$gap-len &gt; 0.005">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
157 <div>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
158 <xsl:attribute name="style">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
159 <xsl:text>width:</xsl:text>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
160 <xsl:value-of select="100.0 * ($gap-len div ($global-max - $global-min))"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
161 <xsl:text>%;float:left</xsl:text>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
162 </xsl:attribute>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
163 <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
164 </div>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
165 </xsl:if>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
166 </xsl:if>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
167 </xsl:if>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
168 </xsl:template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
169
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
170 <xsl:template match="sector" mode="sectors">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
171 <xsl:call-template name="emit-gap">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
172 <xsl:with-param name="sector" select="."/>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
173 </xsl:call-template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
174 <div>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
175 <xsl:attribute name="style">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
176 <xsl:text>background:</xsl:text>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
177 <xsl:choose>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
178 <xsl:when test="@class = '0'">green</xsl:when>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
179 <xsl:when test="@class = '1'">blue</xsl:when>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
180 <xsl:when test="@class = '2'">magenta</xsl:when>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
181 <xsl:when test="@class = '3'">red</xsl:when>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
182 <xsl:otherwise>black</xsl:otherwise>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
183 </xsl:choose>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
184 <xsl:text>;width:</xsl:text>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
185 <xsl:call-template name="percent">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
186 <xsl:with-param name="sector" select="."/>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
187 </xsl:call-template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
188 <xsl:text>%</xsl:text>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
189 <xsl:text>;float:left</xsl:text>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
190 </xsl:attribute>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
191 <xsl:attribute name="title">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
192 <xsl:text>km </xsl:text>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
193 <xsl:value-of select="format-number(@from, $km-pattern, $locale)"/>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
194 <xsl:text> - </xsl:text>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
195 <xsl:value-of select="format-number(@to, $km-pattern, $locale)"/>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
196 <xsl:choose>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
197 <xsl:when test="@class = '0'"> / Q <xsl:value-of select="$i18n-around-mnq"/></xsl:when>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
198 <xsl:when test="@class = '1'"> / Q <xsl:value-of select="$i18n-around-mq"/></xsl:when>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
199 <xsl:when test="@class = '2'"> / Q <xsl:value-of select="$i18n-around-mhq"/></xsl:when>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
200 <xsl:when test="@class = '3'"> / Q <xsl:value-of select="$i18n-above-hq5"/></xsl:when>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
201 </xsl:choose>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
202 </xsl:attribute>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
203 <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
204 </div>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
205 </xsl:template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
206
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
207 <xsl:template match="event">
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
208 <tr id="{@cid}">
2632
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
209 <xsl:if test="$render-checkboxes">
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
210 <td>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
211 <input type="checkbox" name="{$project-uuid}:{@cid}" checked="true" onclick="{$callback}"/>
2632
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
212 </td>
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
213 </xsl:if>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
214 <td>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
215 <xsl:apply-templates mode="sectors"/>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
216 </td>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
217 <td align="center">
2707
d6e32ae72da6 Deliver description on events instead of names in fixing overview.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2632
diff changeset
218 <xsl:attribute name="title"><xsl:value-of select="@description"/></xsl:attribute>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
219 <xsl:value-of select="@date"/>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
220 </td>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
221 </tr>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
222 </xsl:template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
223
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
224 <xsl:template match="gauge" mode="gauges">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
225 <xsl:call-template name="emit-gap-gauge">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
226 <xsl:with-param name="gauge" select="."/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
227 </xsl:call-template>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
228 <div>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
229 <xsl:attribute name="style">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
230 <xsl:text>overflow:hidden;background:</xsl:text>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
231 <xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
232 <xsl:when test="(count(preceding::*) mod 2) = 0">#ada96e</xsl:when>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
233 <xsl:otherwise>silver</xsl:otherwise>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
234 </xsl:choose>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
235 <xsl:text>;width:</xsl:text>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
236 <xsl:call-template name="percent">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
237 <xsl:with-param name="sector" select="."/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
238 </xsl:call-template>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
239 <xsl:text>%</xsl:text>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
240 <xsl:text>;float:left</xsl:text>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
241 </xsl:attribute>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
242 <xsl:attribute name="title">
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
243 <xsl:value-of select="@name"/>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
244 <xsl:text>: km </xsl:text>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
245 <xsl:value-of select="format-number(@from, $km-pattern, $locale)"/>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
246 <xsl:text> - </xsl:text>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
247 <xsl:value-of select="format-number(@to, $km-pattern, $locale)"/>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
248 </xsl:attribute>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
249 <nobr><xsl:value-of select="@name"/></nobr>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
250 </div>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
251 </xsl:template>
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
252
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
253 <xsl:template match="events">
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
254 <table width="97%" border="1" cellspacing="0" cellpadding="0"
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
255 style="font-size: 10pt;font-family:Arial;Verdana,sans-serif">
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
256 <colgroup>
2632
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
257 <xsl:if test="$render-checkboxes">
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
258 <col width="20px"/>
2632
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
259 </xsl:if>
7d163c2c6e6d Improve XSL transformation for fixings overview output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2565
diff changeset
260 <col width="*"/>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
261 <col width="75px"/>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
262 </colgroup>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
263 <tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
264 <xsl:if test="$render-checkboxes">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
265 <th>&#160;</th>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
266 </xsl:if>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
267 <th><xsl:apply-templates mode="gauges" select="/fixings/gauges"/></th>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
268 <th><xsl:value-of select="$i18n-event"/></th>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
269 </tr>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
270 <xsl:apply-templates/>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
271 </table>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
272 </xsl:template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
273
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
274 <xsl:template match="/">
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
275 <html>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
276 <head>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
277 <title>Fixierungen:</title>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
278 </head>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
279 <body>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
280 <xsl:apply-templates/>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
281 <hr/>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
282 <table border="1" cellspacing="0" cellpadding="0">
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
283 <caption><xsl:value-of select="$i18n-legend"/></caption>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
284 <tr>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
285 <th><xsl:value-of select="$i18n-color"/></th>
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
286 <th colspan="2"><xsl:value-of select="$i18n-meaning"/></th>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
287 </tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
288 <xsl:if test="count(/fixings/events/event/sector[@class = '0']) &gt; 0">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
289 <tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
290 <td style="background: green">&#160;</td>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
291 <td><xsl:value-of select="$i18n-around-mnq"/></td>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
292 <td>Q &#8712; [0, (MNQ+MQ)/2)</td>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
293 </tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
294 </xsl:if>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
295 <xsl:if test="count(/fixings/events/event/sector[@class = '1']) &gt; 0">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
296 <tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
297 <td style="background: blue">&#160;</td>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
298 <td><xsl:value-of select="$i18n-around-mq"/></td>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
299 <td>Q &#8712; [(MNQ+MQ)/2, (MQ+MHQ)/2)</td>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
300 </tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
301 </xsl:if>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
302 <xsl:if test="count(/fixings/events/event/sector[@class = '2']) &gt; 0">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
303 <tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
304 <td style="background: magenta">&#160;</td>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
305 <td><xsl:value-of select="$i18n-around-mhq"/></td>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
306 <td>Q &#8712; [(MQ+MHQ)/2, HQ5)</td>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
307 </tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
308 </xsl:if>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
309 <xsl:if test="count(/fixings/events/event/sector[@class = '3']) &gt; 0">
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
310 <tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
311 <td style="background: red">&#160;</td>
3431
0568ffd29bb2 FixA: Introduced i18n to overview transformation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3429
diff changeset
312 <td><xsl:value-of select="$i18n-above-hq5"/></td>
3427
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
313 <td>Q &#8712; [HQ5, &#8734;)</td>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
314 </tr>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
315 </xsl:if>
5f47e68a1130 FixA: Bring XSLT in sync with flys-client to ease development.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2707
diff changeset
316 </table>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
317 </body>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
318 </html>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
319 </xsl:template>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
320
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
321 <xsl:template match="text()"/>
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
322 <xsl:template match="text()" mode="sectors"/>
3429
3353672f9ba2 FixA: XSL overview transform renders the names of the gauges into the head line.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3427
diff changeset
323 <xsl:template match="text()" mode="gauges"/>
2565
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
324
72f77b2210c2 FixingsOverview: Added XSL transformation which directly converts the output of the fixings overview service into an HTML representation.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
325 </xsl:stylesheet>

http://dive4elements.wald.intevation.org