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

How do I find the rss feed for my blog?

631


What is the difference between wsdl and xsd?

645


What is the use of xml data binding?

688


What are the advantages of using xforms over html?

649


Define sgml?

643


What is xml format example?

602


What is the use of rendering in xsl?

656


Do you know what are the roles of XSLT?

677


What is rss feed url?

576


How do you view an xml file?

649


Explain the relationships of XSLT with XSL?

698


Can I open an xml file in excel?

630


Explain about non-XML resources?

719


Whether root element is required for XML? If so, how many root elements are required?

793


What is metadata in excel?

654