Visit Mozilla.org

XSLT:message

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

Contents

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.

[edit] Syntax

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

[edit] Required Attributes

None.

[edit] 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.

[edit] Type

Instruction, appears within a template.

[edit] Defined

XSLT, section 13.

[edit] Gecko support

Supported.