xsl:message

Sends a message in a way that is dependent on the XSLT processor.

Format

<xsl:message terminate="yes" | "no">
               
  <!-- Content: template -->
               
</xsl:message>
               

            

Description

The content of the xsl:message instruction is a template. If the value of the terminate attribute is yes, the XSLT processor instantiates the template to create text. The processor aborts stylesheet processing and sends the text as part of the error message that indicates that stylesheet processing has terminated.

The default value of the terminate attribute is no. If you specify terminate="no" or if you do not specify the terminate attribute, the XSLT processor displays the message in the Stylus Studio Output Window but does not terminate the process.

 
Free Stylus Studio XML Training: