<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:template match="/">
		<html>
			<head>
				<title>Newsletter Distribution List
				</title>
			</head>
			<body>
				<table width="100%">
					<xsl:apply-templates/>
				</table>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="Detail">
		<tr>
			<th colspan="2">
				Newsletter Id: <xsl:value-of select="NewsletterID"/>
				<br />
				Reference Number: <xsl:value-of select="NewsletterRefNum"/>
				<br />
				Title: <xsl:value-of select="NewsletterTitle"/>
				<br />
			</th>
		</tr>
		<tr>
			<td colspan="2">
				<hr />
			</td>
		</tr>			
	</xsl:template>
	<xsl:template match="Company">
		<tr>
			<td>
				<xsl:value-of select="CompanyID"/>
				
			</td>
			<td>
				<xsl:value-of select="CompanyName"/>
			</td>
		</tr>
	</xsl:template>
</xsl:stylesheet>
		
