Page 1 of 1

How to display CDATA content using XSLT

Posted: Fri Dec 05, 2003 10:31 pm
by gowni
Hi friends,

I need some help. I am unable to show CDATA content using xsl.
In the HTML its showing like this:

<![CDATA[
<BR><BR><CENTER>
</CENTER>

]]>

In the xsl file the code i am using is :
<xsl:variable name="brc" select="tag1/tag2/brochure"/>
<xsl:value-of select="$brc" disable-output-escaping="yes"/>

the brochure tag is a CDATA content.

Thanks in advance
gowni

Posted: Mon Dec 08, 2003 3:05 am
by twigletmac
Have you tried removing the disable-output-escaping attribute or changing it to no?

Mac