I have the XML file content as
<resources>
<html><![CDATA[<B>Hello World</B>]]></html>
</resources>
and my html file content is
<html><![CDATA[<B>Hello World</B>]]></html>
the XML file when viewed doesnt give me any problem, but when it comes to
HTML the output that i recieve is
Hello World]]>
In order to remove the square bracket and the angle bracket in the HTML I
make the following correction:
HTML:
<html><
Signature
Kumar.A.P.P
Software Engineer, Infosys Technologies Limited.
http://geekswithblog.squarespace.com
Joe Fawcett - 08 Oct 2007 16:40 GMT
I think this would be better posted in one of the XML groups.
How are you transforming to HTML from the XML? As far as I know HTML doesn't
really support CDATA sections and storing HTML within a CDATA section in XML
invariably leads to problems down the line.

Signature
Joe Fawcett (MVP - XML)
http://joe.fawcett.name
>I have the XML file content as
>
[quoted text clipped - 23 lines]
>
> Thanks for any help.
Göran Andersson - 08 Oct 2007 17:20 GMT
> I have the XML file content as
>
[quoted text clipped - 23 lines]
>
> Thanks for any help.
You are mixing xhtml with html.
CDATA is only recognised in xhtml, so you have to add doctype and
namespace to the page to make it xhtml (or perhaps configure the server
to serve the file as text/xml).
The data that you put in the page is html (as it has upper case element
names), so you have to turn it into xhtml to work.

Signature
Göran Andersson
_____
http://www.guffa.com