The <template> element is a child of the <message> element. The content of the <template> element is the name of an XML document used to construct the message body. If the <template> element is not present, then the replacement data document is processed by the message style sheet to construct the message body.