• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic