1. Web
  2. XML
  3. XSLT
  4. Reference
  5. Elements
  6. <xsl:comment>

<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.

Specifications

XSLT, section 7.4.

Gecko support

Supported.

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /