Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

xsl:comment

Syntax

Description

Generate a comment node within the final document. The content within the <xsl:comment> element determines the value of the comment. The content must not contain two hyphens next to each other (- -); this sequence is not allowed in comments.

XSLT files can contain ordinary comments delimited by <!-- and --> such as <!-- ... Insert your comment here ... -->, but these are ignored by the processor. To generate a comment within the final document, use an <xsl:comment> element.