This is just a quick heads up if your carrying out XSLT transformations to create HTML pages. The HTML pages I was creating, had to contain the the following conditional comment.When I appended the XSL style sheet template with the statement, it was parsed with the angle brackets escaped, resulting in the conditional comment appearing as text on the actual page rather than as HTML mark-up. To resolve this issue, I had to wrap the statement in a CDATA tag and wrap the CDATA tag in an <xsl:text> tag as so:
The disable-output-escaping attribute in the <xsl:text> element is the enabling factor in this solution. It instructs the XSL parser not to escape any of the angle brackets in the conditional comment. Placing the conditional comment in a CDATA section ensures the Conditional Comment is parsed in the HTML output otherwise the XSL parser will just treat the conditional comment it as an XSL style sheet comment and won’t render it as output.
I hope this helps.