xsl:comment problem
Thomas Comiotto <[email protected]> Fri, 9 Mar 2007 08:05:25 +0100
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
Seems like document fragments enclosed by xsl:comment directives are
not being output correctly (as commented output fragments) but
instead as CDATA
e.g.
<style type="text/css">
<xsl:comment>
@import url("<xsl:value-of select="$aVariable"/>/foo/bar.css");
</xsl:comment>
</style>
does output:
<style type="text/css">
<!--
@import url("/foo/bar.css");
-->
</style>
or..
<xsl:comment>
<foo>bar</foo>
</xsl:comment>
<!--
bar
-->
Is this I known issue or may I file a bug for this one?
Regards
Thomas