<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output 
  method="html"
  encoding="ISO-8859-1"
  doctype-public="-//W3C//DTD XHTML 1.0//EN"
  doctype-system="http://www.w3.org/TR/xhtml-transitional.dtd"
  indent="yes" />
  
 <xsl:template match="channel">
  <html>
    <head>
      <title>
      <xsl:value-of select="title"/>
      
      <xsl:value-of select="description"/>
      </title>
      <style type="text/css">
      body{
      background-color: #ffffff;
      font-family:"Trebucher MS", Verdana, Arial, Helvetica, sans-serif;
      font-size: 16px;
      font-weight: bold;
      color: #990000;
      }
      td{
      font-family:"Trebucher MS", Verdana, Arial, Helvetica, sans-serif;
      font-size: 12px;
      font-weight: bold;
      color: #990000;
      border: solid 1px #cfcfcf;
      padding: 10px;
      }
      a{
      color: #00ff00;
      text-decoration: none;
      }
      a:hover{
      color: #ff0000;
      text-decoration: none;
      }
      </style>
      <meta http-equiv="refresh" content="3600"/>
      </head>
        <body>
          <div align="center">
            <b>
              <a href="" target="_self">
                <small>[Recharger la page]</small>
              </a>
            </b>
            <br/>
            <br/>
            <br/>
            <br/>
            <table width="90%">
              <tr>
                <td align="center" style="border:none!important;">
                  <a href="{link}">
                    <big>
                      <big>
                        <b>
                          <xsl:value-of select="title"/>
                        </b>
                      </big>
                    </big>
                  </a>
                  <br/>
                    <a href="http://www.he-prod.info/" target="_blank">
                    <img src="../images/he-sable.jpg" alt="Retour vers le site" 
                    title="Retour vers le site" width="95" height="32" border="0" />
                    </a>
                   </td> 
                   <td style="border:none!important">
                   <b>
                    <big>
                      <xsl:value-of select="description"/>
                    </big>
                   </b>
                   <br/>
                   <br/>
                   <br/>
                  <a href="http://validator.w3.org/feed/check.cgi?url=http%3A//
                  www.he-prod.info/he_rss.xml">
                  <img src="/images/valid-rssgf.jpg" alt="[Valid RSS]" 
                  title="Validate my RSS feed" width="88" height="31" border="0"/>
                  </a>
                  <br/>
                  <br/>
                  Cette page est au format RSS 2.0.
                  <br/>
                  <br/>
                  <br/>
                  <br/>
                  <br/>
                  </td>
                </tr>
                <xsl:call-template name="item"/>
              </table>
            </div>
            <hr/>
          </body>
        </html>
      </xsl:template>
      <xsl:template match="item" name="item">
	      <xsl:for-each select="item">
          <tr>
            <td colspan="2">
              <a href="{link}" target="_blank">
                <b>
                  <xsl:value-of select="title"/>
                </b>
              </a>
              <br/>
              <xsl:value-of select="description"/>
          </td>
            <td>
            <xsl:value-of select="pubDate"/>
            </td>
        </tr>
        </xsl:for-each>
 </xsl:template>
</xsl:stylesheet>


