<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<!--David Roundsley, davidr@dbrdesign.com, www.dbrdesign.com -->
		<html>
			<head><title>CD Singles</title></head>
			<body bgcolor="#000000">
				<xsl:apply-templates/>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="cd_singles">
		<xsl:for-each select="/cd_singles/cd">
			<table width="600" border="0" bgcolor="#FFFFFF" align="center" cellspacing="0">
				<tr>
					<td width="5" bgcolor="#000000"></td>
					<td width="295" bgcolor="#000000" style="font-size:12pt; color: #FFFFFF; font-family:Arial, sans-serif"><b><xsl:value-of select="artist"/></b></td>
					<td width="300" height="300" rowspan="15" align="center" valign="top"><xsl:apply-templates select="picture"/></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #333333; font-family:Arial, sans-serif"><b><xsl:value-of select="title"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #333333; font-family:Arial, sans-serif"><b><xsl:value-of select="label"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="year"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/sequence1"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/title1"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/time1"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/media1"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/sequence2"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/title2"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/time2"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/media2"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/sequence3"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/title3"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/time3"/></b></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/media3"/></b></td>
					<td width="300"></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/sequence4"/></b></td>
					<td width="300"></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/title4"/></b></td>
					<td width="300"></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/time4"/></b></td>
					<td width="300"></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><b><xsl:value-of select="track/media4"/></b></td>
					<td width="300"></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td width="295"></td>
					<td width="300"></td>
				</tr>
				<tr>
					<td width="5"></td>
					<td colspan="2" width="595" style="font-size:10pt; color: #000066; font-family:Arial, sans-serif"><xsl:value-of select="credits"/></td>
				</tr>
				<tr>
					<tr>
						<td width="5" height="5"></td>
						<td width="295"></td>
						<td width="300"></td>
					</tr>
					<td width="5" bgcolor="#CCCCCC"></td>
					<td colspan="2" width="595" bgcolor="#CCCCCC" style="font-size:9pt; color: #000000; font-family:Arial, sans-serif"><xsl:value-of select="comments"/></td>
				</tr>
				<tr>
					<td width="5" height="15" bgcolor="#CCCCCC"></td>
					<td width="295" height="15" bgcolor="#CCCCCC"></td>
					<td width="300" height="15" bgcolor="#CCCCCC"></td>
				</tr>
			</table>
		</xsl:for-each>
	</xsl:template>
	<!--       "picture" template         -->
	<xsl:template match="picture">
		<p style="text-align:center;">
			<img border="1">
				<xsl:attribute name="src">
					<xsl:value-of select="./@filename"/>
				</xsl:attribute>
				<xsl:attribute name="ALT">
					<xsl:value-of select="./@ALT"/>
				</xsl:attribute>
				<xsl:attribute name="title">
					<xsl:value-of select="./@title"/>
				</xsl:attribute>
			</img>
		</p>
	</xsl:template>
</xsl:stylesheet>

