Multiple choice general knowledge science & technology

Well formed XML document means

  1. it contains a root element

  2. it contain an element

  3. it contains one or more elements

  4. must contain one or more elements and root element must contain all other elements

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The claimed answer D is correct. A well-formed XML document must have exactly one root element that contains all other elements in a hierarchical tree structure. Options A and B are incomplete (single element requirement is insufficient). Option C is partially correct but doesn't emphasize the critical root element requirement.