nerdexam
Zend

200-710 · Question #170

Which of the following parts must a XML document have in order to be well-formed?

The correct answer is B. A root element. See the full explanation below for the reasoning.

XML & Web Services

Question

Which of the following parts must a XML document have in order to be well-formed?

Options

  • AAn XML declaration
  • BA root element
  • CA specified encoding
  • DA reference to either a DTD or an XML schema definition

How the community answered

(47 responses)
  • A
    11% (5)
  • B
    83% (39)
  • C
    2% (1)
  • D
    4% (2)

Topics

#XML well-formed#root element#XML structure

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice