HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/TWijnstra/wijnstra.com/wwwroot/volleybal/old/volleyballijst.xsl
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
	<xsl:template match="/">
		<xsl:apply-templates select="volleybalteam"/>
	</xsl:template>

	<xsl:template match="volleybalteam">
	<html>
	<head>
		<title>Volleybaladressen e.d.</title>
		<style>
			BODY {
				background-color: #FFFFFF;
				font-family: arial;
				font-size:13px;
			}
			A:LINK, A:VISITED, A:ACTIVE {
				color: #000000;
				text-decoration: underline;
			}
			A:HOVER {
				color: #999999;
				text-decoration: none;
			}
			TABLE {
				border: 1px solid #000000;
				background-color: #FFFFFF;
			}
			TH {
				background-color: #666666;
				color: #FFFFFF;
				font-family: Arial;
				font-size:13px;
			}
			TD {
				font-family: Arial;
				font-size:13px;
			}
		</style>
	</head>
	<body>
	<h3>Volleybaladressen e.d.</h3>
	<table width="100%" border="0" cellspacing="1" cellpadding="4">
		<thead>
			<th align="left">Naam</th>
			<th align="left">Tel. thuis</th>
			<th align="left">Tel. mobiel</th>
			<th align="left">E-mail</th>
			<th align="left">Rugnr.</th>
			<th align="left">Bondsnr.</th>
			<th align="left">Taak</th>
			<th align="left">Adres</th>
		</thead>

		<xsl:apply-templates select="persoon"/>
		
		<TR><TD colspan="7">
		<a><xsl:attribute name="HREF">mailto:
				<xsl:apply-templates select="persoon/emailadres"/>
			?subject=Volleybal
		</xsl:attribute><b>Mail naar iedereen in 1 keer</b></a></TD></TR>
	</table>
	</body>
	</html>
	</xsl:template>

	<xsl:template match="persoon/emailadres">
		<xsl:choose>
			<xsl:when test="text()">
				<xsl:value-of select="."/>;
			</xsl:when>
		</xsl:choose>
	</xsl:template>
	

	<xsl:template match="persoon">
		<TR VALIGN="top">
			<xsl:if expr="childNumber(this)%2 == 0">
				<xsl:attribute name="bgColor">#CCCCCC</xsl:attribute>
			</xsl:if>
			<xsl:if expr="childNumber(this)%2 == 1">
				<xsl:attribute name="bgColor">#DDDDDD</xsl:attribute>
			</xsl:if>
			<xsl:for-each select=".">
				<TD NOWRAP="true">
					<xsl:value-of select="./voornaam"/>
					<xsl:value-of select="./tussenvoegsel"/>
					<xsl:value-of select="./achternaam"/>
				</TD>
				<TD NOWRAP="true">
					<xsl:value-of select="./tel_thuis"/>
				</TD>
				<TD NOWRAP="true">
					<xsl:value-of select="./tel_mobiel"/><br/>
					<xsl:value-of select="./tijd"/>
				</TD>
				<TD NOWRAP="true"><A><xsl:attribute name="HREF">mailto:<xsl:value-of select="./emailadres"/></xsl:attribute><xsl:value-of select="./emailadres"/></A>
				</TD>
				<TD NOWRAP="true">
					<xsl:value-of select="./rugnummer"/>
				</TD>
				<TD NOWRAP="true">
					<xsl:value-of select="./bondsnummer"/>
				</TD>
				<TD>
					<xsl:value-of select="./taakinhetveld"/>
				</TD>
				<TD NOWRAP="true">
					<xsl:value-of select="./straatnr"/><br/>
					<xsl:value-of select="./postcode"/> <xsl:value-of select="./woonplaats"/>
				</TD>
			</xsl:for-each>
		</TR>		
	</xsl:template>
			
			
</xsl:stylesheet>