Observe the given DTD: <?XML version ="1.0"?> <!DOCTYPE SITES[ <!ELEMENT SITES…
NVS Computer Science / IT Teacher Recruitment · Computer Science · 2017
Observe the given DTD: <?XML version ="1.0"?> <!DOCTYPE SITES[ <!ELEMENT SITES (SITES +)> <!ELEMENT SITE (ADDRESS UTILITY)> <!ELEMENT ADDRESS (#PCDATA)> ]> Choose the statement that is true about the above DTD.
- A.
ADDRESS AND UTILITY elements are empty elements.
- B.
Root element is SITE which in turn contains two sub-elements.
- C.
Element ADDRESS and UTILITY both are to be present in specified order.
- D.
The SITE element is optional.
Attempted by 371 students.
Sign up free to check your answer
Sign up freeLoading lesson…