what is CDATA?

Re: what is CDATA?

Howard Miller - මගින්
Number of replies: 0
Core developers ගේ පින්තුරය Documentation writers ගේ පින්තුරය Particularly helpful Moodlers ගේ පින්තුරය Peer reviewers ගේ පින්තුරය Plugin developers ගේ පින්තුරය
This answer is even later, but just for the record some of the answers have missed the point.

You can't have HTML buried inside the XML. It will break the XML and that's why the OP is getting the error. The point is that if you want to include arbitrary HTML between the 'text' tags then you need to include it in a CDATA section. CDATA escapes all that is within it, forcing it to be interpreted as simple text not XML markup.

See http://en.wikipedia.org/wiki/CDATA

See Moodle_XML_format for an example.
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -