XML - EXtensible Markup Language
XML is a cross-platform, software and hardware independent tool for storing and transmitting information.
XML Document Example
What is XML?
- XML stands for EXtensible Markup Language
- XML is a markup language much like HTML
- XML was designed to carry and store 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
XML Doesn't DO Anything
XML was not designed to DO anything. XML was created to structure, store and carry information.
The XML document example above is a note, to Tove from Jani, written in XML. The note has a heading and a message body. It also has to and from information. But still, this XML document does not DO anything. It is just pure information wrapped in XML tags. Someone must write a piece of software to send, receive or display it:
Don't forget me this weekend!
XML Tags are NOT Predefined
XML tags are not predefined. You must "invent" your own tags.
The tags used to mark up HTML documents are predefined, the author of HTML documents can only use tags that are defined in the HTML standard (like <p>, <h1>, etc.).
XML allows the author to define his/her own tags and his/her own document structure.
The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are "invented" by the author of the XML document.
How to Learn XML?
Thank You For Helping Us!
Your message has been sent to W3Schools.