After changing <xsl:output method="html" /> to <xsl:output method="xml" /> in my 
stylesheets, everything seems to work fine now. I'd never payed much attention to that 
tag, as it didn't seem to make any difference - up to now ...
Nik

> Thanks, Reinhard. I'm supposed to use XSLTC in the future, 
> and I've just tried to use Xalan, but there is no difference 
> in the result. The comments are still gone. I need them 
> especially for some dynamically generated JavaScript 
> sequences, and everything was placed in html comments with my 
> old setup. Any ideas? If nobody else has experienced this, 
> then there must be something wrong with my new cocoon setup, 
> as my xml sources and xsl stylesheets haven't changed.
> Thanks again
> Nik
> 
> > The default transformer in Cocoon 2.1 is XSLTC but you can still use
> > Xalan. Simply change the transformer type to 
> > 
> > <map: transform type="xalan" src="xxxxx"/>
> > 
> > HTH
> > Reinhard
> 
> > > Hello,
> > > 
> > > after switching from Cocoon 2.04 to 2m1, there seems to be a 
> > > different behiavior of the xslt transformer. I have an XSL 
> > > stylesheet which includes some <xsl:comment> tags. With my 
> > > old setup, all content from these tags was translated to html 
> > > comments. Now, with 2m1, they seem to be ignored, as there 
> > > are no comments anymore in the resulting xml. I know that 
> > > there is now a different XSLT transformer; does anybody know 
> > > what's the difference re. <xsl:comment> tags?
> > > 
> > > Thanks
> > > Nik
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to