What is XML ?Extensible Markup Language ( XML ) is a data exchange format widely used in internet.
Main Uses: For exchange of data across different platforms , networks in internet. ( It became a standard of interchanging data in internet )
Main Advantages of XML ( Why it is so popular )Data is stored in plain text
Tags are defined by user
Here is a sample XML file structure
Features of XML languageOpen standard: We can use XML without purchasing or using any particular vendor software.
Web enabled : As prime purpose is to exchange data so it can be included in our HTML pages.
Structured : Users can define their own tags and add data to create a structured language.
Platform independent : We can run XML in any type of server with different operating system.
Language Support : All programming languages operating at different servers can handle XML data. They can receive or output XML structured data to user or to other servers.
Extensible: We can define our own tags and use them as and when required.
HTML & XML ( main difference )Users canít define HTML tags as there are pre defined tags available and they are only to be used. In XML users can define their own tags.
HTML is not case sensitive
XML is case sensitive
It is not mandatory to close each and every tag in HTML
It is mandatory to close each and every tag. in XML
With this we will learn more on elements, tags, child node, parent node etc on next Section.
This article is written by plus2net.com team.