eliminate the duplicates with a selection like this:
Code:
<xsl:apply-templates select="root/CREDITCOMMENT[not(Comment=preceding-sibling::CREDITCOMMENT/Comment)]"/>
output the comment with a template like this:
Code:
<xsl:template match="CREDITCOMMENT">
<xsl:value-of select="Comment"/><br/>
</xsl:template>