Articles → XML → Cdata Section In The XML FileCdata Section In The XML FileIn this article, we will discuss the "CData" section in the XML file.Purpose "CData" is used for text data that should not be parsed by the XML parse. Characters like "<" and "&" are illegal in XML elements.Everything inside a "CData" section is ignored by the parser.Syntax A "CData" section starts with "< ![CDATA[" and ends with "]] >".Example <![CDATA[ function matchwo(a,b) { if (a < b && a < 0) then { return 1; } else { return 0; } } ]] >Posted By - Karan Gupta Posted On - Monday, May 30, 2022 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
<![CDATA[ function matchwo(a,b) { if (a < b && a < 0) then { return 1; } else { return 0; } } ]] >
Query/Feedback