XML is everywhere and is now becoming very important for the web. I think there’s a hardly any field where you can avoid it. XML stands for eXtensible Markup Language and is designed to transport and store data.
A markup language is one which uses additional items (called markup) to create a document.
Now, you would be wondering what the word extensible mean here!!
XML is called extensible ( http://en.wikipedia.org/wiki/Extensibility) as it allows the author of the document to define the markup elements by their own.
XML is much like HTML. Here you must not confuse. These both languages are made for entirely different goals.
XML was designed to store as well as exchange data and HTML to display data. In XML, tags are not defined. You have to define your own.
Here you make all the commands (like a boss). So, you can call it a user made language.
XML does not DO anything, it is just to store and transport data. Infact, it is just information wrapped in tags.
Now, here’s question which usually comes into mind, why we need to learn XML then?
Its feature which really fascinated me is that it supports UNICODE. So every human language can be communicated using XML.
In XML, you can invent your own tags. Unlike HTML, you don’t have predefined tags here. XML is also platform independent and so technological changes doesn’t effect it.
A lot of new Internet languages are created with XML such as XHTML, RSS ,WSDL (for describing available web services ), SMIL (for describing multimedia for the web).
Now, if still these things dosen’t convince you, then I would say:
Why To Leave A Thing Which You Can Learn In About Half An Hour??
The only code which you need to learn in XML is:
<?xml version=”1.0″> and some grammar rules you need to follow.
Just take a look to this video to see what you can do in just four minutes 🙂