What is the difference b/w CDATA and PCDATA?

What is the difference b/w CDATA and PCDATA?

Postby Kishan » Sat Feb 02, 2013 11:42 pm

What is the difference b/w CDATA and PCDATA?
Kishan
 
Posts: 191
Joined: Tue Jan 29, 2013 4:21 am

Re: What is the difference b/w CDATA and PCDATA?

Postby Rose » Mon Feb 04, 2013 1:46 am

PCDATA : XML Parser will parse the data between elements.
CData : XML Parser will NOT parse the data between elements. eg some time we have data like <myelement> 3>=?3 </myelement> we do not want our parser to parse the data then we should provide CDATA
Rose
 
Posts: 20
Joined: Tue Jan 29, 2013 5:16 am


Return to XML

Who is online

Users browsing this forum: No registered users and 1 guest