Hi Jeanet,
It looks like something is braking the xml code so things like:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<div class="RelatedWrapper"><xsl:for-each select="related/item"><div class="RelatedOuter"><div class="RelatedInner"><a><xsl:attribute name="href"><xsl:value-of select="./link" disable-output-escaping="yes" /></xsl:attribute> <img><xsl:attribute name="alt"> <xsl:value-of select="./P/NB_Store_ProductsInfo/ProductName" /> </xsl:attribute><xsl:attribute name="title"> <xsl:value-of select="./P/NB_Store_ProductsInfo/Summary" /> </xsl:attribute><xsl:attribute name="src"> <xsl:value-of select="/root/ModulePath" />makethumbnail.ashx?Image=<xsl:value-of select="./P/I/NB_Store_ProductImageInfo/ImageID" />&w=120&tabid=<xsl:value-of select="/root/TabID" /> </xsl:attribute></img></a><div class="Name"><xsl:value-of select="./P/NB_Store_ProductsInfo/ProductName" /></div><div class="Price"><xsl:value-of select="./frompricecurrency" /></div></div></div></xsl:for-each></div></xsl:template>
</xsl:stylesheet>
I hope this helps,
Geoff
It looks like something is braking the xml code so things like:
< / or special charsHeres a copy of the "relatedproducts.xsl" I have, always make a backup:
etc.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
<xsl:template match="/root"><div class="RelatedWrapper"><xsl:for-each select="related/item"><div class="RelatedOuter"><div class="RelatedInner"><a><xsl:attribute name="href"><xsl:value-of select="./link" disable-output-escaping="yes" /></xsl:attribute> <img><xsl:attribute name="alt"> <xsl:value-of select="./P/NB_Store_ProductsInfo/ProductName" /> </xsl:attribute><xsl:attribute name="title"> <xsl:value-of select="./P/NB_Store_ProductsInfo/Summary" /> </xsl:attribute><xsl:attribute name="src"> <xsl:value-of select="/root/ModulePath" />makethumbnail.ashx?Image=<xsl:value-of select="./P/I/NB_Store_ProductImageInfo/ImageID" />&w=120&tabid=<xsl:value-of select="/root/TabID" /> </xsl:attribute></img></a><div class="Name"><xsl:value-of select="./P/NB_Store_ProductsInfo/ProductName" /></div><div class="Price"><xsl:value-of select="./frompricecurrency" /></div></div></div></xsl:for-each></div></xsl:template>
</xsl:stylesheet>
I hope this helps,
Geoff