What is the difference between #PCDATA and #CDATA in XML?

Karthikeyan B

PCDATA is Parsed character data and CDATA is just character data. 

In PCDATA text, the tags inside the text will be treated as markup and entities will be expanded,  where as in CDATA, text will NOT be parsed by the XML parser.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.