XML code is well-formed or not.
Q2. Identify whether the following code is well-formed or not:
<?xml version=“1.0”
encoding=“UTF-8”
standalone=“yes”?>
Let's know the name, address, date of
birth, & date of join of the employee
<Name> Petter Jones </Name>
<Address>house no 23, lane no 24,
Daryaganj, Delhi </Address>
<DOB><24/12/1987></DOB>
<DOJ><23/1/2010></DOJ>
</Employees>
Ans. The following code is not well formed because there is no root element in the starting.