title: Generate a simple HTML table with XSLT
body: <p>I use XSLT to generate an HTML table using info from an XML file. 
  I want only 4 TD in every TR. </p>
  
  <p>It works fine on Chrome and Safari. Not in Firefox. I understand that Firefox doesn't support 'disable-output-escaping' so I know that is the problem (it just writes  on the web page) . Is there another way to generate this kind of (simple) table with XSLT on client side?</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>&lt;table&gt;
  &lt;xsl:for-each select="movies/movie"&gt;
     &lt;xsl:if test="(position() = 1) or ((position() mod 4) = 1)"&gt;
         &lt;!-- This is a &lt;tr&gt; --&gt;
        &lt;xsl:text disable-output-escaping="yes"&gt;&amp;lt;tr&amp;gt;&lt;/xsl:text&gt;
     &lt;/xsl:if&gt;
     &lt;td&gt;
       &lt;!-- Some stuff goes here. --&gt;
     &lt;/td&gt;
     &lt;xsl:if test="((position() mod 4) = 0) or (position() = last())"&gt;
         &lt;!-- This is a &lt;/tr&gt; --&gt;
        &lt;xsl:text disable-output-escaping="yes"&gt;&amp;lt;/tr&amp;gt;&lt;/xsl:text&gt;
     &lt;/xsl:if&gt; 
  &lt;/xsl:for-each&gt;
  &lt;/table&gt;
  </code></pre>