Question:medium

What is the primary purpose of the XML Document Type Definition (DTD)?

Show Hint

Think of XML as the Language and the DTD as the Dictionary/Grammar Book that tells you which words are allowed and how to build sentences.
Updated On: Jul 4, 2026
  • To style the XML document for browser display.
  • To define the legal building blocks and structure of an XML document.
  • To compress the XML data for faster transmission.
  • To convert XML data into a relational database format.
Show Solution

The Correct Option is B

Solution and Explanation

Was this answer helpful?
0