What is the DTD ?

 Posted by Bharathi Cherukuri on 5/11/2012 | Category: Web Services, Remoting Interview questions | Views: 1682 | Points: 40

The DTD is Document Type Definition which describes the formation of the content of an XML document.
It manages the data to store in a consistent format. It defines the XML elements and attributes about how they should be present in XML documents and what relation they should have with other elements and attributes.
It also allows you to mention whether an XML element is optional or not. If the XML documents are not according to the DTD rules, they are not considered valid.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response