<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<html>
  <head>
  <title><xsl:value-of select="log/title"/></title>
  </head>

  <body>
    <h1 style="color: navy;
		font-size: 14pt">
	<xsl:value-of select="log/title"/>
    </h1>
    <xsl:for-each select="log/post">
	<div style="max-width: 700px">
 	 <div style="
		background-color: #999999; 
		margin-left: 5px; 
		margin-right: 40px;
		padding-left: 3px;
		padding-right: 3px;
		font-style: italic; 
		font-size: 10pt">
	  <xsl:value-of select="time"/>
	 </div>

	 <div style="
		background-color: #dddddd;
		margin-left: 10px; 
		margin-right: 60px;
		margin-bottom: 15px;
		padding-left: 5px;
		padding-right: 5px;
		padding-bottom: 1px;
		padding-top: 1px;
		font-size: 10pt">
		<xsl:value-of select="text"/>
	 </div>
	</div>
    </xsl:for-each>
	<div style="
		background-color: white;
		color: black;
		max-width: 300px;
		border: solid;
		border-width: thin 0 thin 0;
		border-color: black;
		margin-left: 30px; 
		margin-right: 60px;
		margin-top: 20px;
		margin-bottom: 15px;
		padding-left: 5px;
		padding-right: 5px;
		padding-bottom: 1px;
		padding-top: 1px;
		font-style: italic;
		font-size: 8pt;">
	MyLog (C) 2007 Stig Andersen [stigand@gmail.com]
	</div>
  </body>

</html>

</xsl:template>
</xsl:stylesheet>
