3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6 <xsl:output method="xml"/>
8 <xsl:template match="events">
10 <xsl:apply-templates select="event">
11 <xsl:sort select="when/begin" data-type="number"/>
12 </xsl:apply-templates>
16 <xsl:template match="event">
17 <xsl:copy-of select="."/>