<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:output method="html"/>

	
	<!-- override built-in template for text/atts -->
	 <xsl:template match="text()|@*"/> 

	<xsl:template match="channel">
	
	<html>
	<body>
	
	<img src="{profile/image}" width="200" height="200" />
	
	<hr/>
	<xsl:value-of select="name"/><br/>
<a href="{profile/homepage}"><xsl:value-of select="profile/homepage"/></a><br/>
		<xsl:value-of select="date"/><br/>

<table>
<tr><td colspan="3"><h2>Informers</h2></td></tr>

			<xsl:for-each select="informers/informer">
				<tr>
				<td><a href="{uri}"><xsl:value-of select="uri"/></a></td>
				<td><xsl:value-of select="trust/@degree"/></td>
				<td>(<xsl:value-of select="date"/>)</td>
				</tr>
			</xsl:for-each>
				
<tr><td colspan="3"><h2>Reports</h2></td></tr>

				<xsl:for-each select="reports/report">
					<tr>
					<td><a href="{uri}"><xsl:value-of select="uri"/></a></td>
					<td align="right"><xsl:value-of select="trust/@degree"/></td>
					<td><i><xsl:value-of select="description"/></i> <small>(<xsl:value-of select="date"/>)</small></td>
					</tr>
				</xsl:for-each>
</table>

				
</body>
</html>
	</xsl:template>
	
	
</xsl:stylesheet>