·  XSLT – Elements – <xsl:message>


- Info :

  - If parameter 'terminate' is 'yes', error page with text is displayed.


- Example:



    <?xml version="1.0"?>

    <?xml-stylesheet type="text/xsl" href="test.xsl"?>




        <name>Jack  </name>


        <age >23    </age>





    <?xml version="1.0" ?>

    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">


      <xsl:template match="/">      

        <xsl:message terminate="yes">

          This is some error message.







    The XML page cannot be displayed


    Cannot view XML input using XSL style sheet. Please correct the error

    and then click the Refresh button, or try again later.


    This is some error message.