<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'
version="1.0">

  <xsl:output method="html" indent="yes" omit-xml-declaration="yes"/>

  <xsl:template match="/data">

    <table border="0" width="95%" id="table73" >
      <tr>
        <td>
          <b style="font-size:14px; color:black;">Noticía del día</b>
        </td>
      </tr>
      <xsl:apply-templates select="row"/>
      <tr>
        <td>
          <a style="float:right;font-size:10px;" href="../actualidadnutricional/Paginas/todasnoticiasnutricion_ga.aspx">
            Ver todas las noticias
          </a>
        </td>
      </tr>
    </table>
  </xsl:template>

  <xsl:template match="row">
    <tr style="height:40px;">
      <td>
        <b style="color: maroon; font-size:13px;">
          <xsl:value-of select="Title" />
        </b>
      </td>
    </tr>

    <tr>
      <td>
        <b style="font-size:10px;">
          <xsl:value-of select="Comments" disable-output-escaping="yes"/>
        </b>

      </td>
    </tr>
    <tr style="height:50px;">

      <td width="75%">
        <span style="color: #990000;font-size:9px;"> el día </span>
        <span style=" font-size:9px;">
        <xsl:value-of select="substring-before(ArticleStartDate,' ')"/></span>
      </td>
    </tr>
    <tr>
      <td>
        <a style="float:right;font-size:10px;">
          <xsl:attribute name="href">
            <xsl:value-of select="FileRef"/>
          </xsl:attribute>
          Ler máis...
        </a>
      </td>
    </tr>

  </xsl:template>
</xsl:stylesheet>

