Difference between CDATA and PCDATA in XML ?

Answer Posted / sridhar

PCDATA - Parsed Character Data means the XML Parser examins
the data whether the value/text contains entity or not if
it is then it will be replaced for example < should be
given as &lt;

Where as CDATA means The XML parser will not validate
value/text inside the CDATA tag. It is useful for passing
value/text directly to the required application as it is.

Is This Answer Correct ?    60 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you use the XSLT to convert html into VXML?

653


How do I undeclare the default xml namespace?

578


Where is the xml tag in indesign?

531


How do I configure an xpointer processor?

560


What is XSLT data model?

626






What is well formed xml?

558


How do I create an xml schema in excel?

532


Do I have to know html or sgml before I learn xml?

498


Why not just carry on extending html?

568


Do you know what are the roles of XSLT?

590


How does xml handle white-space in my documents?

565


What is xml feed?

548


How can I validate an xml document that uses xml namespaces?

539


How do I run an xsl file in eclipse?

534


How do I convert an xml file to powerpoint?

576