WHAT IS THE DIFFERENCE BETWEEN AN XML SCHEMA AND A DTD?

Vikas Giri

Total Post:33

Points:165
Posted by  Vikas Giri
XML 
XML
 1538  View(s)
Ratings:
Rate this:
  1. Vikas Giri

    Post:33

    Points:165
    What is the difference between an XML schema and a DTD?

    The XML Schema is the officially sanctioned Schema definition. Unlike DTDs, the format of XML Schemas follows the rules of well-formed XML documents. The Schema also allows for much more granular control over the data that is being described. Because of the XML format and the detailed format controls, Schemas tend to be very complex and often much longer than the XML documents that they are describing. Schemas are often much more easy for developers to read and follow,due to the less cryptic nature of the references in Schemas versus DTDs.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!