From: Thorsten T. <tho...@un...> - 2012-01-31 13:46:34
|
Hi, XSLT comments and html comments are usually the same, hence the processor will interpret a <!-- --> as an XSLT comment. If you want to have a comment node in your result document, use <xsl:comment> This will be the content of the comment node </xsl:comment> which will result in the output in <!-- This will be the content of the comment node --> (modulo whitespaces, I did not check) Does this solve your problem? Else, could you provide an example? Cheers Thorsten Am 31.01.12 14:27, schrieb W.S. Hager: > Hi, > > Is there any particular reason why html comments are stripped out by the > xslt? I need them. > > Thanks. > > -- > > W.S. Hager > Lagua Web Solutions > http://lagua.nl <http://lagua.nl/> -- ---------------------------------------------------------------------------- ///////// Dr. Thorsten Trippel tho...@un... // Seminar für Sprachwissenschaft // // Eberhard-Karls-Universität Tübingen // // Office: Wilhelmstr. 19 #3.21 // Phone: +49 (0)7071-29-77352 ///////// Federal Republic of Germany ----------------------------------------------------------------------------- |