<xsl:comment>

The <xsl:comment> element writes a comment to the output document. It must include only text.

Syntax

xml

<xsl:comment>
  TEMPLATE
</xsl:comment>

Required Attributes

None.

Optional Attributes

None.

Type

Instruction, appears within a template.

Defined

XSLT, section 7.4.

Gecko support

Supported.