cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is a DTD

View Entire Topic
Alina
Active Participant
0 Kudos

Hello, mahesh2131,

DTD stands for Data Model Definitions and it is a document which defines the structure of an XML document.

A DTD can contain declarations that define elements, attributes, notations, and entities for any XML files that reference the DTD file. It also establishes constraints for how each element, attribute, notation, and entity can be used within any of the XML files that reference the DTD file.

An XML document with correct syntax is called "Well Formed". An XML document validated against a DTD is both "Well Formed" and "Valid".

Best regards,

Alina