<ViewDefinitions xmlns="http://www.windex.nl/schemas/viewdefinition/2007">
	<Views>
		<View Name="Verzendingen" HiddenColumnIds="0;7;8" ColumnWidths="auto;auto;96px;auto;auto;auto"
			  DefaultOrderColumn="3" DefaultOrder="Descending">
			<Columns>
				<XsltColumn HeaderText="Verzonden" Ordinal="3" OrderBy="SentOn">
					<Transform>
						<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
							<xsl:output method="html" indent="yes"/>
							<xsl:template match="/Row">
								<xsl:variable name="date" select="Column[@name='SentOn']/."/>
								<xsl:variable name="time" select="substring-after($date, ' ')"/>
								<xsl:choose>
									<xsl:when test="$time = '0:00:00'">
										<xsl:value-of select="substring-before($date, ' ')"/>
									</xsl:when>
									<xsl:otherwise>
										<xsl:value-of select="substring($date, 1, string-length($date) - 3)"/>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:template>
						</xsl:stylesheet>
					</Transform>
				</XsltColumn>
				<XsltColumn HeaderText="Opslaglocatie" Ordinal="5" OrderBy="StoreLocation">
					<Transform>
						<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
							<xsl:output method="html" indent="yes"/>
							<xsl:template match="/Row">
								<xsl:variable name="storeLocation" select="Column[@name='StoreLocation']/."/>
								<xsl:choose>
									<xsl:when test="$storeLocation = 'None'">
										Geen
									</xsl:when>
									<xsl:when test="$storeLocation = 'SubjectDossier'">
										Onderwerpsdossier
									</xsl:when>
									<xsl:when test="$storeLocation = 'RelationDossier'">
										Relatiedossier
									</xsl:when>
									<xsl:when test="$storeLocation = 'SubjectAndRelationDossier'">
										Onderwerps- en relatiedossier
									</xsl:when>
								</xsl:choose>
							</xsl:template>
						</xsl:stylesheet>
					</Transform>
				</XsltColumn>
			</Columns>
		</View>
	</Views>
</ViewDefinitions>