The problem is that it is showing everything so on the page, I am getting an output like this:<p><span class="smaller">For use with the PillCam SB video capsule.<br /> </span><span class="smaller">(This product has been manufactured not to include latex.)</span></p>...
Any specific reason why this is happening? Or am I missing some piece of code?
XSLT displaying Everything For Field
Hi There,
I am trying to pull out information from one field into an umbraco page so it shows up. Here is the code that I am using:
The problem is that it is showing everything so on the page, I am getting an output like this:<p><span class="smaller">For use with the PillCam SB video capsule.<br /> </span><span class="smaller">(This product has been manufactured not to include latex.)</span></p>...
Any specific reason why this is happening? Or am I missing some piece of code?
Thanks for your help.
Hi Vincent
You need to add disable-output-escaping="yes" to your <xsl:value of- /> Like this
<xsl:value-of select="$product/data [@alias = 'textDisclaimers']" disable-output-escaping="yes" />
/Jan
Thanks for the quick response, that worked but now it is not taking the styles... I can't use any styles to format the text
Place the html around your <xsl:value-of select="" /> perhaps? :-)
/Jan
is working on a reply...