Mercurial > dive4elements > river
annotate etl/contrib/dips2html.xsl @ 8682:5102733c4567
issue1755 Prevent out of bounds access when there is no data
If there is no data it will default to the complete river.
In the following overview you can then see that there is no
data. Better then a "Error changing state".
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 13 Apr 2015 11:03:00 +0200 |
parents | 5aa05a7a34b7 |
children |
rev | line source |
---|---|
5454
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:html="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="html"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
3 <xsl:output method="html"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
4 <xsl:template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
5 <xsl:param name="value"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
6 <xsl:choose> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
7 <xsl:when test="$value = ''">-/-</xsl:when> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
8 <xsl:otherwise> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
9 <xsl:value-of select="$value"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
10 </xsl:otherwise> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
11 </xsl:choose> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
12 </xsl:template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
13 <xsl:template match="PEGELSTATION"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
14 <tr> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
15 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
16 <xsl:value-of select="@NAME"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
17 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
18 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
19 <xsl:value-of select="@NUMMER"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
20 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
21 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
22 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
23 <xsl:with-param name="value" select="@HOCHWERT"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
24 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
25 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
26 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
27 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
28 <xsl:with-param name="value" select="@TK_BLATT"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
29 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
30 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
31 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
32 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
33 <xsl:with-param name="value" select="@BETREIBER"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
34 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
35 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
36 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
37 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
38 <xsl:with-param name="value" select="@GEOBREITE"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
39 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
40 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
41 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
42 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
43 <xsl:with-param name="value" select="@GEOLAENGE"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
44 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
45 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
46 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
47 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
48 <xsl:with-param name="value" select="@GEWAESSER"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
49 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
50 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
51 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
52 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
53 <xsl:with-param name="value" select="@GUELTIGAB"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
54 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
55 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
56 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
57 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
58 <xsl:with-param name="value" select="@LAGESTATUS"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
59 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
60 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
61 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
62 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
63 <xsl:with-param name="value" select="@RECHTSWERT"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
64 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
65 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
66 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
67 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
68 <xsl:with-param name="value" select="@ABLESUNGBIS"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
69 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
70 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
71 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
72 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
73 <xsl:with-param name="value" select="@ABLESUNGSEIT"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
74 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
75 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
76 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
77 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
78 <xsl:with-param name="value" select="@STATIONIERUNG"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
79 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
80 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
81 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
82 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
83 <xsl:with-param name="value" select="@EINGERICHTETAM"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
84 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
85 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
86 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
87 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
88 <xsl:with-param name="value" select="@EINZUGSGEBIET_AEO"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
89 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
90 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
91 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
92 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
93 <xsl:with-param name="value" select="@GEBIETSKENNZIFFER"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
94 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
95 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
96 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
97 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
98 <xsl:with-param name="value" select="@KILOMETRIERUNG_AB"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
99 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
100 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
101 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
102 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
103 <xsl:with-param name="value" select="@LAGE_AM_GEWAESSER"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
104 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
105 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
106 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
107 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
108 <xsl:with-param name="value" select="@ENTFERNUNGMUENDUNG"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
109 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
110 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
111 <td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
112 <xsl:call-template name="out"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
113 <xsl:with-param name="value" select="@KILOMETRIERUNGSRICHTUNG"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
114 </xsl:call-template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
115 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
116 </tr> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
117 <xsl:if test="string-length(@BESCHREIBUNG) > 0"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
118 <tr> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
119 <td/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
120 <td colspan="21"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
121 <xsl:value-of select="@BESCHREIBUNG"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
122 </td> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
123 </tr> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
124 </xsl:if> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
125 </xsl:template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
126 <xsl:template match="/"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
127 <html> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
128 <head> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
129 <title>DiPs</title> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
130 </head> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
131 <body> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
132 <table border="1" cellspacing="0" width="50%"> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
133 <tr> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
134 <th>Name</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
135 <th>Nummer</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
136 <th>Hochwert</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
137 <th>TK-Blatt</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
138 <th>Betreiber</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
139 <th>Geo-Breite</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
140 <th>Geo-Länge</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
141 <th>Gewässer</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
142 <th>Gültig ab</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
143 <th>Lagestatus</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
144 <th>Rechtswert</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
145 <th>Ablesung seit</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
146 <th>Ablesung bis</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
147 <th>Stationierung</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
148 <th>Eingerichtet am</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
149 <th>Einzugsgebiet AEO</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
150 <th>Gebietskennziffer</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
151 <th>Kilometrierung ab</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
152 <th>Lage am Gewässer</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
153 <th>Entfernung zu Mündung</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
154 <th>Kilometrierungsrichtung</th> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
155 </tr> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
156 <xsl:apply-templates select="/DIPSFLYS/STATIONEN"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
157 </table> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
158 </body> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
159 </html> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
160 </xsl:template> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
161 <xsl:template match="text()"/> |
662bcb3bdfd7
AFT/DIPS: Added simple XSL transformation to turn DIPS.xml into HTML too be more readable.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
162 </xsl:stylesheet> |