W3cubDocs

/XSLT & XPath

xsl:comment

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.

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XSLT/comment