What is XML?
XML stands for eXtensible Markup Language
XML was designed to carry data, not to display data
XML is important to know, and very easy to learn.
XML is a markup language much like HTML
XML tags are not predefined, so You must define your own tags
XML is designed to be self-descriptive
XML is a W3C Recommendation
XML is nothing special. It is just plain text
The Difference Between XML and HTML
XML is not a replacement for HTML.
XML was designed to transport and store data, with focus on what data is,
HTML was designed to display data, with focus on how data looks.
XML does not DO anything. XML was created to structure, store, and transport information.
Example :
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
</note>
this note is copied from w3schools.com/xml