<?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="birthdayfile/title"/>
  </title>
  <meta name="author" content="Christian Weiske"/>
  <meta name="generator" content="cweiske's birthday reminder"/>
 </head>
 <style type="text/css">
  body { font-family:VERDANA,ARIAL,HELVETICA; font-size:11pt;}

  table { border:1px solid #000000; border-collapse:collapse;}
  table th { background-color:#C0C0C0; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; }
  table td { padding-left:5px; padding-right:5px; background-color:#FFFFFF; border-bottom:1px dotted #DCDCDC; }
  table td.date{ text-align:center; }

  table.fileinformation td, th { padding-left:5px; padding-right:5px; border-bottom:1px solid #000000; }
  a { text-decoration:none; }
 </style>
 <body text="#000000" bgcolor="#FFFFFF" link="#0000FF" alink="#0000FF" vlink="#0000FF">
  <div style="text-align:center">
   <table style="border:none;">
    <tr>
     <td style="text-align:center; border:none;">

  <table width="100%">
   <tr>
    <th>Name</th>
    <th>Event</th>
    <th>Date</th>
   </tr>
   <xsl:for-each select="birthdayfile/content/person">
<!--
    <xsl:sort select="date" data-type="number"/>
    <xsl:sort select="name" data-type="text"/>
    <xsl:sort select="event" data-type="text"/>
-->
    <tr>
     <td>
      <xsl:value-of select="name"/>
     </td>
     <td>
      <xsl:value-of select="event"/>
     </td>
     <td class="date">
      <xsl:value-of select="date"/>
     </td>
    </tr>
   </xsl:for-each>
  </table>

  <br/>

  <table class="fileinformation" width="100%">
   <tr>
    <th colspan="4">File information</th>
   </tr>
   <tr>
    <th>Title</th>
    <td colspan="3">
     <xsl:value-of select="birthdayfile/title"/>
    </td>
   </tr>
   <tr>
    <th>Author</th>
    <td>
     <xsl:value-of select="birthdayfile/author"/>
    </td>
    <th style="border-left:1px solid #000000;">Version</th>
    <td>
     <xsl:value-of select="birthdayfile/version"/>
    </td>
   </tr>
  </table>

  <br/>

  <table width="100%">
   <tr>
    <td style="text-align:center;">written by Christian Weiske<br/>get the birthday reminder at <a href="http://www.cweiske.de">www.cweiske.de</a></td> 
   </tr>
  </table>

     </td>
    </tr>
   </table>
  </div>
 </body>
</html>
 </xsl:template>
</xsl:stylesheet>