XML documents must contain one element that is the parent of all other elements. This element is called the root element. The root element encloses all other elements in XML. All other elements inside the root elements are the form of the child element. The structure of the XML file should look like<root><child><subchild>....</subchild></child></root>e.g.<company><employee><ecode> 101 </ecode><name> Rahul </name></employee><employee><ecode> 102 </ecode><name> Sahil </name></employee><employee><ecode> 103 </ecode><name> Muskan </name></employee></company>You can see in the above example that the root element declared out here is <company> then comes the child element <employee> which in turn stores the <ecode> and <name> of the employee in the tags.