Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

The <xsl:message> element outputs a message (to the JavaScript Console in NS) and optionally terminates execution of the stylesheet. It can be useful for debugging.

Syntax

<xsl:message terminate="yes" | "no" >
	TEMPLATE
</xsl:message>

Required Attributes

None.

Optional Attributes

terminate
Set to "yes", indicates that execution should be terminated. The default value is "no", in which case the message is output and execution continues.

Type

Instruction, appears within a template.

Defined

XSLT, section 13.

Gecko support

Supported.

Document Tags and Contributors

 Contributors to this page: Sheppy, Fredchat, Mgjbot, Ptak82, Nickolay, CitizenK
 Last updated by: Sheppy,