Click to See Complete Forum and Search --> : HTML in RSS File


gsoft
09-25-2004, 08:18 AM
I am currently trying to create XSLT stylesheet but having problems with this type of code


<description><![CDATA[ testing testing testing<br /><br /> testing testing testing testing]]></description>


All i am getting is code. I tried using the <xsl:output /> element but it returned XSLT Failed in Firefox.

Is there anyway i can get the data within CDATA to be parsed as HTML?

Khalid Ali
09-27-2004, 10:35 AM
I think one of these will work..

<xsl:text>some text</xsl:text>

or xsl:comment

gsoft
09-27-2004, 06:40 PM
Hmm.. That didnt seem to work

At the moment its an Invalid feed as I've taken the <![CDATA[]]> tags out, and used <xsl:copy-of> and that seems to work but I would like to try and make it valid. :(