Table of Contents

About

The message is part of the console, not of the XSLT transformation output.

Syntax

<xsl:template match="/ARTICLE/SECT/SECT/SECT">
 <xsl:message terminate="yes">
     Error: Sections can only be nested 2 deep.
 </xsl:message>
</xsl:template>

where:

  • the terminate=yes clause causes the transformation process to stop after the message is generated.