Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/xslt/element/comment/index.md
6546 views
---
title: <xsl:comment> slug: Web/XSLT/Element/comment
---

{{ XsltRef() }}

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

Syntax

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