Mercurial > dive4elements > river
annotate etl/doc/havel.xsl @ 8617:b8493c4bdf0c
Remove duplicated code.
This is an exact copy of the createItem method from the base class.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 25 Mar 2015 18:22:34 +0100 |
parents | b8d6aac3acf2 |
children |
rev | line source |
---|---|
7256
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
3 |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
4 <xsl:output method="xml"/> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
5 |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
6 <xsl:template match="/DIPSFLYS/STATIONEN/PEGELSTATION[@GEWAESSER='Untere Havel-Wasserstraße (UHW)']"> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
7 <PEGELSTATION> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
8 <xsl:attribute name="GEWAESSER">Havel</xsl:attribute> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
9 <xsl:apply-templates select="@*[local-name() != 'GEWAESSER']"/> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
10 <xsl:apply-templates select="node()"/> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
11 </PEGELSTATION> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
12 </xsl:template> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
13 |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
14 <xsl:template match="@*|node()"> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
15 <xsl:copy> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
16 <xsl:apply-templates select="@*|node()"/> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
17 </xsl:copy> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
18 </xsl:template> |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
19 |
b8d6aac3acf2
ETL: Added repair XSLT script to rename value of GEWAESSER attribute 'Untere Havel-Wasserstraße (UHW)' with 'Havel'.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
20 </xsl:stylesheet> |