• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

difference between CDATA and PCDATA in XML

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am confused with these .....
what is the difference between PCDATA ( Parsed character data ) and CDATA(character data).

can anyone will guide me?

Thanks in advance,
Vinay Rajnish
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XML parser will ignore CDATA completely. CDATA section is a good place to put any none XML content into an XML file.
 
vianyrajnish rajnish
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I aware of this ....that XML parser will ignore CDATA section (place to put any none XML content into an XML file)
but,.... In schema (XML) we can specify other data types like interger, date .. etc.
In DTD it is said that only two types of data CDATA nad PCDATA are there,
i just want to know PCDATA means rest of CADATA , which parser can parse.

thanks,
Vinay rajnish
 
reply
    Bookmark Topic Watch Topic
  • New Topic