I transform a XHTML dokument to another XML-Dokument with XSLT. In the XHTML-Input-Dokument there are several IE-conditional-comments, like this one:
<!--[if lte IE 7]>
<link rel='stylesheet' href='ie.css' type='text/css' />
<![endif]-->
But while the transformation they get lost... Even if I try only to do an identity-copy:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" />
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
I only get the link-element without the conditional comment around it.
How can I copy the XHTML-Dokument with the conditional comment?