In order to interpret XML documents, you need to:
2022
In order to interpret XML documents, you need to:
- A.
Use standardized predefined tags
- B.
Specify the tags separately in a file
- C.
Have a Document Type Definition (DTD) for the tags
- D.
Use standardized HTML tags
Attempted by 215 students.
Show answer & explanation
Correct answer: C
XML does not have predefined tags. To interpret and validate an XML document, its structure and rules must be defined using a Document Type Definition (DTD) or XML Schema. DTD specifies which tags are allowed and how they are structured.
A video solution is available for this question — log in and enroll to watch it.