title: XSLT include empty elements in output
body: <p>I have a few simple xslt templates that I'm using to generate a navigation - the navigation is rendering fine but some of my markup is getting ignored.</p>
  
  <p>The markup I need outputted is unrelated to the template itself but contains design elements I'd rather not inject with javascript. </p>
  
  <p>My template: </p>
  
  <pre><code>&lt;xsl:template match="Rows"&gt;
  &lt;nav id="nav"&gt;
      &lt;a href="#" role="button" data-toggle="dropdown" class="opener"&gt;
          &lt;span class="ico"&gt;
              &lt;sub /&gt;
              &lt;sub /&gt; 
              &lt;sub /&gt;
          &lt;/span&gt;
          &lt;span&gt;Menu&lt;/span&gt;
      &lt;/a&gt;    
      &lt;xsl:apply-templates select="Row[@FileDirRef = '/Lists/GlobalNavigation/GlobalNav']"&gt;
          &lt;xsl:sort select="@DisplayOrder"/&gt;
      &lt;/xsl:apply-templates&gt;
  &lt;/nav&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>But the empty <code>&lt;sub&gt;</code> elements render as nested elements:</p>
  
  <pre><code>&lt;span class="ico"&gt;
    &lt;sub&gt;
      &lt;sub&gt;
        &lt;sub&gt;
        &lt;/sub&gt;
      &lt;/sub&gt;
    &lt;/sub&gt;
  </code></pre>
  
  <p></p>
  
  <p>Is there another way of doing this so empty elements will render out in the template? </p>