worked a charm.
Any idea how to get a pound symbol showing in the description? Every time it converts it to HTML. Not a major thing but if it could be done it would be amazing. I just changed around your code a bit to suit our needs.
Code:
<SearchEngineSettings>
<SETitle actionType="transform">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:aspdnsf="urn:aspdnsf" exclude-result-prefixes="aspdnsf">
<xsl:output method="html" omit-xml-declaration="yes" />
<xsl:template match="/">
<xsl:apply-templates select="/root/Products/Product" />
</xsl:template>
<xsl:template match="Product">
<xsl:param name="pName" select="aspdnsf:GetMLValue(Name)"></xsl:param>
<xsl:param name="setitleoutput" select="concat(ManufacturerName, ' ', $pName, ' @ e-tradecounter.co.uk')"></xsl:param>
<xsl:value-of select="$setitleoutput" disable-output-escaping="yes"/>
</xsl:template>
</xsl:stylesheet>
</SETitle>
<SEDescription actionType="transform">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:aspdnsf="urn:aspdnsf" exclude-result-prefixes="aspdnsf">
<xsl:output method="html" omit-xml-declaration="yes" />
<xsl:template match="/">
<xsl:apply-templates select="/root/Products/Product" />
</xsl:template>
<xsl:template name="removeHtmlTags">
<xsl:param name="html"/>
<xsl:choose>
<xsl:when test="contains($html, '<')">
<xsl:value-of select="substring-before($html, '<')"/>
<!-- Recurse through HTML -->
<xsl:call-template name="removeHtmlTags">
<xsl:with-param name="html" select="substring-after($html, '>')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$html"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="Product">
<xsl:param name="price" select="/root/Products/Product/Price"></xsl:param>
<xsl:param name="saleprice" select="/root/Products/Product/SalePrice"></xsl:param>
<xsl:param name="Summary" select="aspdnsf:GetMLValue(Summary)"></xsl:param>
<xsl:param name="pName" select="aspdnsf:GetMLValue(Name)"></xsl:param>
<xsl:param name="prodprice">
<xsl:choose>
<xsl:when test="$saleprice>0">
<xsl:value-of select="format-number(($saleprice * 1.15), '###0.00')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="format-number(($price * 1.15), '###0.00')" />
</xsl:otherwise>
</xsl:choose>
</xsl:param>
<xsl:variable name="pureText3">
<xsl:call-template name="removeHtmlTags">
<xsl:with-param name="html" select="$Summary" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="concat('From £',$prodprice, ' ', $pName, ' - ' ,$pureText3)" disable-output-escaping="yes"/>
</xsl:template>
</xsl:stylesheet>
</SEDescription>
</SearchEngineSettings>
Thanks so much for your help.
EDIT - The html shows up fine in a search engine. Perfect! Thanks!
EDIT 2 - New updated code now, Thanks for your help. Pretty much automated our SEO now!