I have an XSLT file where I output the image source using an attribute. It works fine or should I say it was working fine until I realised that it's outputting two values the same that are now stopping the images working.
<img class="right" alt="TN">
<xsl:attribute name="src">
<xsl:value-of select="@Thumbnail" />
</xsl:attribute>
</img>
The output is as follows:
<img class="right" src="images/thumb01.jpg, images/thumb01.jpg" alt="Image">
Does anyone know how or why this may be happening?

0 commentaires:
Enregistrer un commentaire