teichmann@7256: <?xml version="1.0" encoding="utf-8"?>
teichmann@7256: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
teichmann@7256: 
teichmann@7256:     <xsl:output method="xml"/>
teichmann@7256: 
teichmann@7256:     <xsl:template match="/DIPSFLYS/STATIONEN/PEGELSTATION[@GEWAESSER='Untere Havel-Wasserstraße (UHW)']">
teichmann@7256:         <PEGELSTATION>
teichmann@7256:             <xsl:attribute name="GEWAESSER">Havel</xsl:attribute>
teichmann@7256:             <xsl:apply-templates select="@*[local-name() != 'GEWAESSER']"/>
teichmann@7256:             <xsl:apply-templates select="node()"/>
teichmann@7256:         </PEGELSTATION>
teichmann@7256:     </xsl:template>
teichmann@7256: 
teichmann@7256:     <xsl:template match="@*|node()">
teichmann@7256:        <xsl:copy>
teichmann@7256:           <xsl:apply-templates select="@*|node()"/>
teichmann@7256:        </xsl:copy>
teichmann@7256:     </xsl:template>
teichmann@7256: 
teichmann@7256: </xsl:stylesheet>