<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
  <xsl:variable name="title" select="'Fale Conosco'" />
  <xsl:template match="/root">
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>
          Site Conves - Contato
        </title>
      </head>
      <body>
        <div style="width: 700px; padding: 15px 0px; margin: 0 auto;">
          <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <thead>
              <tr>
                <td colspan="2" style="border: 1px solid #DDD; padding: 10px; text-align: center; font-weight: bold; font-family: Verdana; font-size: 14px; color: #000;">Site Conves - Contato</td>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="width: 92px; padding: 5px 0px 5px 5px; font-family: Verdana; font-size: 13px; color: #000; font-weight: bold;">Nome:</td>
                <td style="padding: 5px 5px 5px 0px; font-family: Verdana; font-size: 13px; color: #000;">
                  <xsl:value-of select="name" />
                </td>
              </tr>
              <tr>
                <td style="width: 92px; padding: 5px 0px 5px 5px; font-family: Verdana; font-size: 13px; color: #000; font-weight: bold;">Assunto:</td>
                <td style="padding: 5px 5px 5px 0px; font-family: Verdana; font-size: 13px; color: #000;">
                  <xsl:value-of select="subject" />
                </td>
              </tr>
              <tr>
                <td style="width: 92px; padding: 5px 0px 5px 5px; font-family: Verdana; font-size: 13px; color: #000; font-weight: bold;">E-mail:</td>
                <td style="padding: 5px 5px 5px 0px; font-family: Verdana; font-size: 13px; color: #000;">
                  <a href="mailto:{email}">
                    <xsl:value-of select="email" />
                  </a>
                </td>
              </tr>
              <tr>
                <td colspan="2" style="padding: 5px 5px 5px 5px; font-family: Verdana; font-size: 13px; color: #000;">
                  <span style="font-family: Verdana; font-size: 13px; color: #000; font-weight: bold;">Mensagem:&#160;&#160;</span>
                  <xsl:value-of select="message" />
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
