forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <>
Subject Re: [views] xsl:comment in templates
Date Sat, 27 Aug 2005 02:24:19 GMT
Diwaker Gupta wrote:
> I'm writing a template which contains a <script> tag. Often <script> tags
> enclosed within regular HTML comments (<!-- and -->) to deal with browser 
> incompatibilities and so on. I'm trying to achieve this using xsl:comments in 
> my templates. However, it seems xsl:comments are completely ignored while 
> processing templates. I'm trying this:
> <xsl:template name="custom-headers-head">
>  <meta name="author" content="Diwaker Gupta"/>
>         <xsl:comment>this never shows up</xsl:comment>
> </xsl:template>
> The <meta> stuff comes out fine, but the xsl:comment is never rendered in the 
> HTML output. Any clues?

That is one of our serious bugs in the forrest_07 release.
All comments were not coming all the way through to output.
This seemed to happen suddenly in the months leading up to
the release.
"xml comments are no longer generated or are stripped"


View raw message