The <xsl:message> element outputs a message (to the JavaScript Console in the browser) 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 isno, in which case the message is output and execution continues.
- : Set to
Type
Instruction, appears within a template.
Specifications
XSLT, section 13.
Gecko support
Supported.
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
