<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xsl:include href="htmlformat.xml"/>

  <xsl:template match="/">
    <html>
      <head>
        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
        <script type="text/javascript">
          _uacct = "UA-482330-5";
          urchinTracker();
        </script>
        <title>
          Weekly Features
        </title>
        <script language="javascript" src="scripts/xsl_mop-up.js"></script>
        <style>
          a {color:#003366; text-decoration:none;}
          a:hover {color:#003366; text-decoration:underline;}
        </style>
      </head>
      <body>
        <div id="cometestme" style="display:none;">
          <xsl:text disable-output-escaping="yes">&amp;amp;</xsl:text>
        </div>
        <table width="440" border="0" cellpadding="8" cellspacing="0" bgcolor="#ffffff">
          <xsl:for-each select="weeklyFeatures">
            <xsl:for-each select="feature">
              <xsl:variable name="id" select="@id"/>
              <xsl:variable name="title" select="title"/>
              <tr>
                <td>                
                  <a href="feature.ashx?featureId={$id}">
                    <xsl:for-each select="introductionImage">
                      <xsl:for-each select="@src">
                        <img  align="right" vspace="5" hspace="8" border="1" alt="" width="150" height="150">
                          <xsl:attribute name="src">
                            <xsl:value-of select="." />
                          </xsl:attribute>
                          <xsl:attribute name="alt">
                            <xsl:value-of select="../title" />
                          </xsl:attribute>
                        </img>
                      </xsl:for-each>
                    </xsl:for-each>
                  </a>
                  <a href="feature.ashx?featureId={$id}" >
                    <span name="decodeable">
                      <b>
                        <font size="4">
                          <xsl:value-of select="title/text()" disable-output-escaping="yes"/>
                        </font>
                      </b>
                    </span>
                  </a>
                  <br />
                  <br />
                  <span name="decodeable">
                    <xsl:value-of select="introduction/text()" disable-output-escaping="yes"/>&#160;<a href="feature.ashx?featureId={$id}">More</a>
                  </span>
                </td>
              </tr>
              <tr>
                <td colspan="2">
                  <img src="http://www.culinary.net/images/main/line.gif" width="430" height="1" />
                  <br />
                </td>
              </tr>
            </xsl:for-each>
          </xsl:for-each>
        </table>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>

