Following sample code shows an xml example file

<?xml version="1.0" encoding="utf-8" ?>
<bookStore>
  <book>
    <aname>C#Bginners</aname>
    <author>Ram</author>
    <price>130</price>
  </book>
  <book>
    <aname>ASP Ref 4 Beginners</aname>
    <author>Sarath</author>
    <price>180</price>
  </book>
</bookStore>



1:Above given xml file is storing few Books details.
2:bookStore is the root element in the given xml example file.
3:Every opening tag in xml must have a closing tag.