<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="#all"
version="2.0">
<!-- ========================================================================================================================= -->
<!-- @@@___ output settings ___@@@ -->
<!-- ========================================================================================================================= -->
<xsl:output encoding="UTF-8" method="xml" indent="yes"/>
<xsl:strip-space elements="*"/>
<!-- ========================================================================================================================= -->
<!-- @@@___default templates ___@@@ -->
<!-- ========================================================================================================================= -->
<xsl:template match="element()" mode="#all">
<xsl:copy copy-namespaces="no">
<xsl:apply-templates select="@* | node()" mode="#current"/>
</xsl:copy>
</xsl:template>
<xsl:template match="comment() | processing-instruction()" mode="#all"/>
<xsl:template match="attribute() | text() | comment() | processing-instruction()" mode="#all">
<xsl:copy copy-namespaces="no"/>
</xsl:template>
<!-- ========================================================================================================================= -->
<!-- @@@___ Umsortierung ___@@@ -->
<!-- ========================================================================================================================= -->
<xsl:template match="veranstaltung">
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="datum"/>
<xsl:apply-templates select="titel"/>
<xsl:apply-templates select="zeit"/>
<xsl:apply-templates select="text"/>
<xsl:apply-templates select="ort"/>
<xsl:apply-templates select="veranstalter"/>
</xsl:template>
</xsl:stylesheet>