XSLT <message> Element Last Updated : 28 Apr, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report In XSLT (eXtensible Stylesheet Language Transformations), the '<xsl: message>' element outputs messages during the transformation process. It's a way to communicate information or provide feedback during the transformation. This element contains all the other XSL elements such as <xsl: text>, <xsl:value-of>, etc. Syntax:<xsl:message terminate="yes"|"no"> [message-body]</xsl: message>Attributes:terminate: It is used to complete the transformation after the message is executed on the given instruction. By default, the value of terminate is "yes".Example: In this example, we will see the use of the terminate attribute and see how it works. The messages that are displayed during the transformation, provide information about the progress or actions being taken. XML <!--'input.xml'--> <xsl:stylesheet version="1.0" xmlns:xsl='http://www.w3.org/1999/XSl/Transform"> <class> <books> <book> <title>The Complete Reference</title> <author>Herbert Schildt</author> </book> <book> <title>Thinking in Java</title> <author>Prentice Hall</author> </book> </books> </class> XML <!--stylesheet. xsl--> <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <xsl:message terminate="no"> Starting the transformation. </xsl:message> <output> <xsl:apply-templates select="books/book"/> </output> </xsl:template> <xsl:template match="book"> <xsl:message terminate="no"> Proessing book: <xsl:value-of select="title"/></xsl:message> <bookInfo> <title><xsl:value-of select="title"/></title> <author><xsl:value-of select="author"/></author> </bookInfo> </xsl:template> </xsl:stylesheet> To run this, use the below command: java -jar saxon9he.jar -s:input.xml -xsl:stylesheet.xsl -o:output.xmlOutput: Comment More infoAdvertise with us Next Article WSDL Element R rutikakatka8 Follow Improve Article Tags : HTML Web technologies-HTML and XML Geeks Premier League 2023 XSLT Similar Reads WSDL <message> Element WSDL <message> Element is used to describe the data that is exchanged between the Web Service providers and the consumers. There are two messages per Web Service input and output. The input describes parameters for the web service and the output describes the return data from the Web Service. 2 min read XSLT <value-of> Element XSLT <value-of> Element is used to extract value from a node selected through name or expression. It is used to get value from XML and then display or output it. In this tutorial, we will learn to implement it. XSLT is a programming language used to convert XML documents into other forms such 2 min read SVG <tspan> Element SVG stands for Scalable Vector Graphic. It can be used to make graphics and animations like in HTML canvas. The SVG <tspan> element defines a subtext within a <text> element or another <tspan> element. It allows for adjustment of the style and/or position of that subtext as per use 1 min read SVG <desc> Element The <desc> element in SVG is used to provide an accessible text description to any of the available SVG elements whether it is a container or graphic element.Syntax:<desc></desc>Property Values: It does not have any property values.Below given are a few examples of the function giv 1 min read HTML | DOM onmessage Event The onmessage Event in HTML DOM used when an object has received some message through an event source. The event object for onmessage Event supports the following schemes: data: It contains the actual message present inside it.origin: It contains the URL of the document that invoked the event.lastEv 2 min read XML | Elements The XML elements are the basic building block of the XML document. It is used as a container to store text elements, attributes, media objects etc. Every XML documents contain at least one element whose scopes are delimited by start and end tags or in case of empty elements it is delimited by an emp 2 min read Like