<xsl:comment>

Deprecated

Avoid using this feature in new projects. This feature may be a candidate for removal from web standards or browsers.

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.

Specifications

XSLT, section 7.4.

Gecko support

Supported.