Question 75

A valid XML document means : (a) The document must be well formed

A valid XML document means : (a) The document must be well formed (b) The document must apply to the rules of the DTD
  1. ABoth (a) and (b) are true
  2. BOnly (a) is true
  3. COnly (b) is true
  4. DBoth (a) and (b) are false
Show answerHide answer

Correct answer: (A) Both (a) and (b) are true

Explanation

A valid XML document must be well-formed and must also follow the rules of its DTD (or schema), so both statements are true.

From DSSSB TGT Computer Science Practice Set 5

This is question 75 of DSSSB TGT Computer Science Practice Set 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.