We have some XSLT when the value of Message is NULL the h2 transforms into a self closing tag. How can we stop this?
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" omit-xml-declaration="yes"/>
<xsl:template match="/"> <xsl:for-each select="Title"><h2><xsl:value-of select="Message"/> </h2> </xsl:for-each> </xsl:template> </xsl:stylesheet>