The XSLT <xsl:comment> Element

Definition and Usage

The <xsl:comment> element is used to create comment nodes in the result tree.

Syntax

<xsl:comment>
<!-- Content:template -->
</xsl:comment>

Attribute

None

Instance

Example 1

<xsl:comment>This is a comment!</xsl:comment>