Subject: Mal-formed HTML within XML
From: Maria Amuchastegui <mamuchastegui@xxxxxxxxxxx>
Date: Sun, 20 Feb 2005 16:43:50 -0500
|
For historical reasons, I need to store mal-formed html within my xml data,
and then output it as html, without the tags showing.
<Content>
<Section ref="2">
<Name>Summary</Name>
<HTML><p>Hello world </HTML>
</Section>
<Content>
If I put the html inside CDATA tags, then the tags are displayed in the
browser, but if I don't use CDATA then the xml is not well-formed.
Is there a way to do this?
Maria
|