|
Subject:
|
Ecsaped XML
|
|
Posted By:
|
dkb
|
Post Date:
|
10/27/2003 11:20:21 AM
|
Is there a way of adding xml in an xml document, but so that the document will not consider the text within certain elements to be XML?
for example
<ABC><NOTXML></NOTXML><ABC>
I am looking for a means of holding a html (not well formed) document within an xml document.
Thanks
|
|
Reply By:
|
planoie
|
Reply Date:
|
10/27/2003 12:00:14 PM
|
You can escape XML text in the same way as you would escape HTML for display in a browser:
<ABC><NOTXML></NOTXML><ABC>
Peter
|
|
Reply By:
|
pgtips
|
Reply Date:
|
10/28/2003 7:29:23 AM
|
or you can put it in a CDATA section <ABC><![CDATA[<NOTXML></NOTXML>]]></ABC>
|