Website Developer Question:
Download Job Interview Questions and Answers PDF
Do you know what is DTD (Document Type Declaration)? Mention what is the difference between CDATA and PCDATA in DTD?
Answer:
A DTD means Document Type Definition (DTD) which defines the structure, legal elements and attributes of an XML document.
☛ PCDATA: A PCDATA is a Parsed Character Data. XML parsers usually parse all the text in an XML document.
☛ CDATA: While CDATA is an Unparsed Character Data, the term CDATA is used about text data that should not be parsed by the XML parser.
☛ PCDATA: A PCDATA is a Parsed Character Data. XML parsers usually parse all the text in an XML document.
☛ CDATA: While CDATA is an Unparsed Character Data, the term CDATA is used about text data that should not be parsed by the XML parser.
Download Website Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me few ways you can reduce page load time? | Tell me does HTML5 Provide Drag And Drop Facility? How Do You Set An Image As Draggable? |