title: Creating conditional comments with XSLT?
body: <p>I want to create <a href="http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx" rel="noreferrer">conditional comments</a> in XSLT.</p>
  
  <p>But when I use this:</p>
  
  <pre><code>&lt;!-- [If IE7] [endif] --&gt;
  </code></pre>
  
  <p>in an <code>&lt;xsl:comment&gt;</code>, XSLT removes it from the output when it is rendered.</p>
  
  <p>Is there any way to create conditional comments in XSLT?</p>