The best thing to do to not get too much troubles with white-space,
is put the "template in one XML tag in a seperate file, like this
<text>Hello ###USER###,
This is a sample email.
Thanks for your time,
Admin</text>
note that I have a placeholder for the dynamic part, could as well be a PI or comment and then you can get XSLT deal with it without string manipulation
Here is the XSLT that goes with this
Main Topics
Browse All Topics





by: kmartin7Posted on 2009-10-22 at 06:41:10ID: 25634021
Try:
t>,
<xsl:template match="/Users/User">
<xsl:text>Hello </xsl:text><xsl:value-of select="User_Name"/><xsl:tex
This is a sample email.</xsl:text><xsl:text>
Thanks for your time,</xsl:text><xsl:text>
Admin</xsl:text>
</xsl:template>