<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:variable name="Rev">
  <!-- Revision van deze xsl -->
  <xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>

<xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/>

<xsl:template match="GetReserveringenResponse">
	<FacilityTalk>
	<xsl:for-each select="reservering">
	<xsl:sort select="SRT"/>
		<Order>
			<ZAALNAAM><xsl:value-of select="RES_RUIMTE_NR"/></ZAALNAAM>
			<DATBEGIN><xsl:value-of select="VAN"/></DATBEGIN>
			<DATEINDE><xsl:value-of select="TOT"/></DATEINDE>
			<OMSCHRIJVING><xsl:value-of select="OMS"/></OMSCHRIJVING>
		</Order>
	</xsl:for-each>
	</FacilityTalk>
</xsl:template>

<xsl:template match="/">
	<!--<xsl:copy-of select="/"/>-->
	<xsl:apply-templates select="/facilitor/rapport/GetReserveringenResponse"/>
</xsl:template>

</xsl:stylesheet>