xsl:comment

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 Common