| XML or Extensible Markup Language is widely used | | | | of XML structured content where a message is |
| for formatting data universally so that it can be | | | | sent from A to B: |
| exchanged over the internet or to be published | | | | BAKindly go through the document |
| online. It is a markup language used for those | | | | |
| documents which contains structured information. | | | | This example makes it clear about the structure |
| When we talk of structured information we mean | | | | of the message. XML employs to use such simple |
| contents like words or pictures and the role | | | | structure for all its documents which makes it |
| theses contents play in a whole document. We | | | | easy for its reader to decipher the text. That is |
| often notice that content in the beginning may | | | | why it is such a popular tool for data exchange. |
| mean introduction to the subject. The content in | | | | With XML you have to invent your own tags. The |
| the end could be the conclusion. The content for a | | | | tags like or are not any standard tag and have |
| picture could be a caption. These structures make | | | | been put there by the writer of the message. |
| up a document. The markup language is the | | | | Any user can put his/her tag specific to the |
| equipment which will recognize the structure in a | | | | document that is being created such as "address", |
| document. The XML specifications put forward a | | | | "educational qualification", "experience" while |
| standard way by which markup could be added to | | | | preparing Resume type of document which then |
| the documents. | | | | can be exchanged as a XML document. There are |
| XML was created so that it becomes easy to use | | | | some XML tags that are applied to all documents |
| richly structured documents on the internet. The | | | | and there are other tags which are required to file |
| alternative to XML is HTML and SGML which are | | | | definitions in documents. |
| not very effective as far are structured | | | | When it comes to data exchange format, XML is |
| document is concerned. A set of semantics bind | | | | especially useful in many professional fields, such |
| HTML and arbitrary structures are not provided | | | | as meteorology or share market or real estate to |
| by it. While SGML does provide arbitrary structure | | | | name a few. For example, a meteorologist can |
| but web browsers find it too difficult to handle. | | | | exchange weather data by using his/her own tags |
| SGML can carry out vast complicated problems | | | | like , , etc. These tags can be filed in |
| but simple identification of structure requires too | | | | corresponding templates. Such web pages could |
| much effort which can be avoided by using XML. | | | | directly be processed by XML compatible |
| While discussing the role of XML in data exchange | | | | applications. That is how the weather data could |
| format it is important to mention that XML is not | | | | be automatically evaluated through the web. This |
| a replacement for either SGML or HTML. XML is a | | | | process makes it unnecessary to agree upon a |
| subset of SGML. HTML was precisely designed to | | | | syntax resembling Document Type Definition |
| show how a data looks while it is displayed | | | | (DTD) by the user group. |
| visually. It is actually displays information. XML, on | | | | The flexibility in the use of XML makes it so |
| the other hand, was developed to store data as | | | | popular in data exchange format and has made it |
| well as transport it with stress on the type of the | | | | extremely easy to format data using your own |
| data. Instead of displaying information XML carries | | | | tag. Now, the transfer of data becomes easy as |
| information. | | | | these tags are humanly readable and applicable in |
| Function of XML is not to do anything but simply | | | | their own specific field. XML structure is being |
| transport information along with structuring and | | | | used more and more for transporting data by |
| storing it. It uses tags which are created by the | | | | people from all fields in relation to prices or date |
| writer of the XML document and is not | | | | information or author and many others. |
| pre-defined like HTML. Given below is an example | | | | |