<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8" indent="yes"/>

<xsl:template match="/message">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title><xsl:value-of select="type"/></title>
</head>
<body style="text-align: center;">
  <h2>
    <xsl:value-of select="type"/>
  </h2>
  <p style="margin-bottom: 1em;">
    <xsl:value-of select="text"/>
  </p>
</body>
</xsl:template>

</xsl:stylesheet>
