CDATA Section

A CDATA section allows you to mark a section of text as literal so that it will not be parsed for tags and symbols, but will instead be considered just a string of characters. E.g. if you want to put HTML in an XML document, but you don’t want it parsed, you can embed it in a CDATA section.

<?xml version='1.0' encoding='UTF-8'?> <data> 
<![CDATA[
  <html>
   ....
  </html>
]]>
</data>

Leave a comment