MCQs > IT & Programming > XML > What is wrong with this XML code? 1 2 3 4 Accounts Reports 5 6 7 8 9 10 11 Marketing Reports 12 13 14 15

XML MCQs

What is wrong with this XML code?
1 <?xml version="1.0"?>
2 <folder dt="1/1/2000">
3 <file id="1" >
4 <name>Accounts Reports</name>
5 <contents />
6 <!-- Note: This file does not contain anything yet -->
7 </file>
8 </folder>
9 <folder dt="1/2/2000">
10 <file id="2" >
11 <name>Marketing Reports</name>
12 <contents />
13 <!-- Note: This file does not contain anything yet -->
14 </file>
15 </folder>

Answer

Correct Answer: it doesn't have a root element

Explanation:

Note: This Question is unanswered, help us to find answer for this one

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it