XML stands for EXtensible Markup Language
XML is a markup language much like HTML
XML was designed to carry data, not to display data
XML tags are not predefined. You must define your own tags
XML is designed to be self-descriptive
XML is a W3C Recommendation
At first, XML is not HTML. XML may look like HTML, based on the similarities of the tags and the general format of the data, but that’s where the similarity ends. While HTML is designed to describe display characteristics of Data on a Web Page to browsers, XML is designed to represent data structures. XML can be transformed into HTML using Extensible Style Sheet Transformations(XSLT).
XML is a metalanguage that allows user to define markup for their documents using tags. XML separates content and structure from formatting.
With XML you can :
- Define data structures
- Make these structures platform independent
- Process XML defined data automatically
- Define your own tags
With XML you cannot
- Define how your data is shown. To show data, you need other techniques
XML does Not DO Anything
Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store, and transport information.
XML is Not a Replacement for HTML
XML is a complement to HTML
It is important to understand that XML is not a replacement for HTML. In most web applications, XML is used to transport data, while HTML is used to format and display the data.
XML is a software- and hardware-independent tool for carrying information.