<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
  xmlns:atom="http://purl.org/atom/ns#"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
<xsl:output indent="no" method="html"/>
<xsl:output doctype-public="-//W3C//DTD HTML 4.01//EN"/>
<xsl:output doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>

    <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <head profile="http://gmpg.org/xfn/1">
            <link rel="StyleSheet" href="/petrik/css/style.css" type="text/css" media="screen" />
            <style type="text/css" media="all">@import "/petrik/css/layout.css";</style>

        </head>  	
        <body>
            <xsl:apply-templates select="/atom:feed"/>
    	</body>
    	</html>
	</xsl:template>
	
	<xsl:template match="/atom:feed">	
	    <div id="navigation">
    	    <div id="introduction">
    			<h1><xsl:value-of select="atom:title"/></h1>
    			<p><xsl:value-of select="atom:tagline"/></p>    	    
    			<h1>About Atom Feed</h1>
    			<p>This is a syndicated feed, designed to be read in a syndicated feed reader.
    			For example <a href="http://www.bloglines.com/">BlogLines</a> (web-based) or <a href="http://sage.mozdev.org/">Sage</a> (Firefox plugin)</p>
    	    </div>
	    </div>
		<div id="maincontent">
			<xsl:apply-templates select="atom:entry"/>
		</div>
	</xsl:template>
	
	<xsl:template match="atom:entry">
		<h1><a href="{atom:link/@href}">

				<xsl:value-of select="atom:title"/>
			</a>
		</h1>
		<p><xsl:value-of select="atom:summary"/></p>
		<p class="date">(<xsl:value-of select="atom:issued"/>)</p>
	</xsl:template>
</xsl:stylesheet>