This will strip out common data that breaks feeds, and can be called after the StripHtml() method. Call the template and pass in the field you want the data cleaned up with:
Code:
<xsl:call-template name="cleanData">
<xsl:with-param select="Description" name="data" />
</xsl:call-template>
And the template:
Code:
<xsl:template name="cleanData">
<xsl:param name="data"/>
<xsl:param name="data2">
<xsl:value-of select="aspdnsf:GetMLValue($data)" />
</xsl:param>
<xsl:param name="data3">
<xsl:value-of select="aspdnsf:StrReplace($data2, '|', '')" />
</xsl:param>
<xsl:param name="data4">
<xsl:value-of select="aspdnsf:StrReplace($data3, '\n', '')" />
</xsl:param>
<xsl:param name="data5">
<xsl:value-of select="aspdnsf:StrReplace($data4, '
', '')" />
</xsl:param>
<xsl:param name="data6">
<xsl:value-of select="aspdnsf:StrReplace($data5, '
', '')" />
</xsl:param>
<xsl:param name="data7">
<xsl:value-of select="aspdnsf:StripHtml($data6)" />
</xsl:param>
<xsl:value-of select="$data7" />
</xsl:template>