|
It is a text-based markup language which has got ample amount of acceptance from the programmers for the data interchange on the web. In HTML, we identify data using tags (identifiers enclosed in angle brackets: <...>). Collectively, the tags are known as markup.
But unlike HTML, XML tags identify the data rather than specify how to display it. It puts a label on a piece of data that identifies it (for example, <message>...</message>).
There are several basic ways to use XML:
• Traditional data processing, where XML encodes the data for a program to process
• Document-driven programming, where XML documents are containers that build interfaces and applications from existing components
• Archiving--the foundation for document-driven programming--where the customized version of a component is saved (archived) so that it can be used later
• Binding, where the DTD or schema that defines an XML data structure is used to automatically generate a significant portion of the application that will eventually process that data
Advantages of XML:
1. Since it is wriiten in simple plain text it is very feasible for the programmer to edit the files in nay text editor.
2. It can also store large amount of data too along with the text.
3. Stylesheets can also be easily implemented in XML.They can be once designed and then repeatedly implemented again and again with just few modifications.
4. We can implement the links very much similar to the HTML linking.
|