title: Setting doctype transitional for xhtml file fails
body: <p>I'm trying to generate this line in a html file:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  </code></pre>
  
  <p>Since I generate the html file using an xsl file and an xml file, I think the code used to generate the line should be included in the xsl file. </p>
  
  <p>I found this solution on Internet ---- </p>
  
  <pre><code>&lt;xsl:output method="html" doctype-system="http://www.w3.org/TR/html4/strict.dtd" doctype-public="-//W3C//DTD HTML 4.01//EN" indent="yes" /&gt;
  </code></pre>
  
  <p>but when I change strict to transitional, things go wrong. </p>
  
  <p>Does anyone have a good solution? </p>
  
  <p>Thank you in advance!</p>