Question:

Which XML data modelling approach supports a variety of data types?

Show Hint

DTD = Structure Definition XML Schema = Structure + Data Types
Updated On: Jun 25, 2026
  • XML DTD
  • XML SAX
  • XML Instance
  • XML Schema
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Concept: XML Schema (XSD) is used to define the structure and constraints of XML documents. It provides strong support for data typing.

Step 1:
Understand XML Schema.
XML Schema supports various data types such as:
• String
• Integer
• Boolean
• Date
• Time
• Decimal

Step 2:
Compare with DTD.
DTD mainly defines structure. DTD has very limited support for data types. XML Schema provides extensive datatype support.

Step 3:
Select the answer.
Hence, \[ \boxed{\text{XML Schema}} \] is correct.
Was this answer helpful?
0
0