xsl:message

xsl:message

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.

© 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/message

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部