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

What is xsl fo documents? Explain xsl-fo documents structure?

426


Why XML editor is needed instead of Notepad?

626


What is xml file in itr?

443


What is xsl fo template?

449


what are the w3c specifications for xml?

1753






What is xlink in xml?

460


What is difference between internal and external dtd?

469


What are the advantages of using xml?

436


What does xsd mean?

481


What is xsl attribute?

456


How to run an xml file?

694


What does dtd stand for?

489


What is application xml?

450


What is the difference between a podcast and a rss?

440


Is xml a web service?

482