Which statement is true?
-
XML elements must be properly nested
-
XML tags are case sensitive
-
XML documents must have a root tag
-
All the statements are true
XML has strict syntax rules: elements must be properly nested (no crossing boundaries), tags are case-sensitive ( != ), and every well-formed XML document must have exactly one root element that contains all other elements. Since all individual statements A, B, and C are correct, option D is the right choice.
XML requires well-formed nesting (no overlapping tags), tag names and attributes are case-sensitive by specification, and every valid XML document must have exactly one root element enclosing everything else. Since all three individual statements are correct XML rules, the option stating they are all true is the right choice.