<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:template match="teppefall">
<html><head><title>Teppefall Digital Layout </title>
<link href="http://teppefall.com/teppefall2009.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<h1>Teppefall Download Server</h1>
<p>
<a href="http://teppefall.com"><img src="/teppefall-logo8bit.png"/></a>
</p>
<div class="air">
<xsl:apply-templates/>
</div>
</body>
</html>
</xsl:template>

<xsl:template match="application">
<div><xsl:apply-templates/></div>
<hr/>
</xsl:template>

<xsl:template match="release">
<h3><xsl:value-of select="parent::node()/@name"/> <xsl:text> </xsl:text><xsl:value-of select="@version"/></h3>
<ul>

<xsl:for-each select="download">
<li><a href="{@url}"><xsl:value-of select="@name"/></a></li>
</xsl:for-each>

<!--<xsl:for-each select="download-unavailable">
<li><xsl:value-of select="@platform"/></li>
</xsl:for-each>-->


</ul>
</xsl:template>

<xsl:template match="error"><xsl:value-of select="."/></xsl:template>
<xsl:template match="ping"><xsl:value-of select="."/></xsl:template>


</xsl:stylesheet>
