adplus-dvertising
frame-decoration

Question

Point out the errors in the following xml document -
<notes>
<note date=12/11/2007>
  <to>Tove</to>
  <from>Jani</from>
</note>
<note date=12/11/2007>
  <to>Tove</to>
  <from>Jani</from>
</note>
<note date=12/11/2007>
  <to>Tove</to>
  <from>Jani</from>
</note>
</notes>

a.

XML Elements Must be Properly Nested

b.

XML Documents Must Have a Root Element

c.

XML Attributes must be quoted

d.

None of these

Posted under Web Technologies

Answer: (c).XML Attributes must be quoted

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Point out the errors in the following xml document -