Hi,
I'm having the following problem:
I'm using XSL to transform XML into HTML.
One of the XML fields I use contains (well-formed) HTML.
The XML is as follows:
- <NEWSITEM>
- <ID>1</ID>
- <TITLE>Some Title</TITLE>
- <BODY>
-
CDATA[
<p>This contains HTML</p>
<p><a href="somelink.asp">More.</a></p>
]]>
</BODY>
</NEWSITEM>
When using the following XSL,
...
<xsl:value-of select="BODY"/>
...
I get the following output
<p>This contains...
etc...
How can I avoid this?
I've already tried to use the attribute disable-output-escaping, but it makes no difference...
Can anyone help me out on this?
Thx,