XML
The internet is here to stay. From a small experiment carried out by a bunch of nuclear scientists to being omnipotent, the usage of internet has grown by leaps and bounds. Indeed, it is difficult today to envisage a world sans the World Wide Web. HTML stands for Hyper Text Markup Language and is the most commonly used simple tagging language for displaying text in a browser; however there is a limitation to what it can do. HTML focuses on the appearance of data by enhancing the appearance of text. It however, does not provide specifications to define new elements; you have to make do with pre-defined tags. In that sense, HTML is static.
XML stands for eXtensible Markup Language, which is a language that can be used to describe data in a meaningful way. XML was developed to address the limitations of HTML. In particular, XML has provisions to define new elements and is considered dynamic because it is used to define a set of rules for encoding documents. The rules are defined in machine-readable and human-readable formats alike. The XML standards are set by W3 School
Virtually anywhere there is a need to store data; especially where it may need to be consumed by more than one application, XML is a good place to start. It has gained a reputation for being a candidate where interoperability is important, either between two applications in different businesses or simply those within a company. Hundreds of standardized XML formats now exist, known as schemas, which have been agreed on by businesses to represent different types of data, from medical records to financial transactions to GPS coordinates representing a journey. Incidentally, a ‘schema’ basically means a meaningful way of representing information. Or to put it differently, a schema is less formal and clearer way of representing information.
Why is XML used?
Since XML does not have a fixed set of elements, the name of the linking element cannot be used to locate links. Instead, XML processors identify links by recognizing the xml:link attribute. Other attributes can be used to provide additional information to the XML processor. An attribute renaming facility exists to work around name collisions in existing applications.
Should you Learn XML?
By Internet standards, XML is pretty old. The first version of XML was introduced in 1996, and the markup language has been refined since then. As the name implies, the XML extends the capabilities of HTML. While HTML coders need to work with a set of predefined tags, XML coders can create their own tags, making XML more versatile and utilitarian.
Using XML means you no longer require writing focus programs on proprietary data software. Below are a few areas where XML is used.
XML is used in e-commerce applications, where it increases the accessibility of electronic data interchange for business transactions that involve clients and consumers. Another area where XML is used is wireless technologies. While mobile phones of today are quite powerful in terms of processing power, RAM and storage, the phones of yesteryear were extremely primitive. There was no way HTML could be used for these mobile phones. They needed a lightweight markup language that could be used within a small device with limited computational resources, such as a mobile phone to access resources made available through the Wireless Application Protocol (WAP). WML is an XML-based markup language designed especially for mobile devices.