title: XSL not applying templates correctly
body: <p>Good morning!</p>
  
  <p>I have this XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="Relatorio.xsl"?&gt;
  &lt;relatório id="LPROG" xmlns="http://www.dei.isep.ipp.pt/lprog"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.dei.isep.ipp.pt/lprog Relatorio.xsd"&gt;
      &lt;páginaRosto&gt;
          &lt;tema&gt;oRolhas&lt;/tema&gt;
  
          &lt;!--Bunch of other fields--&gt;
  
      &lt;/páginaRosto&gt;
  
      &lt;!--Bunch of other fields--&gt;
  
  &lt;/relatório&gt;
  </code></pre>
  
  <p>The XML is correctly formed and validated using the given XSD.</p>
  
  <p>After applying this simple .xsl:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  
      &lt;xsl:template match="/"&gt;
          &lt;html&gt;
              &lt;head&gt;
                  &lt;title/&gt;
              &lt;/head&gt;
              &lt;body&gt;
                  &lt;h1 align="center"&gt;Relatório Trabalho&lt;/h1&gt;
                  &lt;xsl:apply-templates select="relatório/páginaRosto"/&gt;
              &lt;/body&gt;
          &lt;/html&gt;
      &lt;/xsl:template&gt;
  
  
      &lt;xsl:template match="páginaRosto"&gt;
          &lt;h1&gt;Page&lt;/h1&gt;
          &lt;h2&gt;Tema:
              &lt;xsl:value-of select="tema"/&gt;
          &lt;/h2&gt;
      &lt;/xsl:template&gt;
  
  
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;&lt;h1 align="center"&gt;Relatório Trabalho&lt;/h1&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It is not "printing" the "páginaRosto" template, and I can't figure out why.
  Is there any problem with my XPath expressions or even with the XML file?</p>
  
  <p>Thanks in advance</p>