XML Main Features
XML is popular and widely used markup language on World Wide Web. In this article, we will discuss the features of XML.
Features of XML
1. XML focuses on data rather than how it looks
One of the reason, XML is popular because it focuses on data rather than data presentation. The other markup language such as HTML is used for data presentation. This separates the data and its presentation part and gives us the freedom to present the data, the way we want, once we receive it using XML.
Two or more systems can receive the same data from a same XML and present it in a different way using other markup language such as HTML.
2. Easy and efficient data sharing
Since XML is software and hardware independent, it is easier to share data between different systems with different hardware and software configuration. Any system with any programming language can read and process a XML document.
3. Compatibility with other markup language HTML
It is so much easier to read the data from XML and display it on an GUI(graphical user interface) using HTML markup language.
When the data changes over time, we need not to make any changes in the HTML.
4. Supports platform transition
The main reason why changing to new systems and platform is challenging, because it involves the headache of data conversion between incompatible formats which often results in data loss. XML simplifies this process as the data is transported on new upgraded systems without any data loss.
5. Allows XML validation
A XML document can be validated using DTD or XML schema. This ensures that the XML document is syntactically correct and avoids any issues that may arise due to the incorrect XML.
6. Adapts technology advancements
The reason why XML is popular and being used from a very long time is because, it can adapt to the new technologies because of its platform-independent nature.
7. XML supports Unicode
XML supports Unicode that allows it to communicate almost any information in any written human language.