Question discussion

Which of the following is NOT required for an XML document to be well-formed?

1322Medium DSSSB TGT Computer Science 0 replies 1 views
0

Which of the following is NOT required for an XML document to be well-formed?

  • AA single root element
  • BProperly nested and closed tags
  • CQuoted attribute values
  • DA DTD or schema declaration
Correct answer: D

Explanation

Well-formedness needs one root, proper nesting and quoted attributes; a DTD or schema is needed only for validity.

Discussion 0

Nobody has replied yet. Start the discussion!