PLEASE STAND BY

LOADING WEBPAGE

XML TUTORIAL

What is XML?

XML (Extensible Markup Language) is a W3C initiative that allows information and services to be encoded with meaningful structure and semantics that computers and humans can understand. XML is great for information exchange, and can easily be extended to include user-specified and industry-specified tags.


Extensible Markup Language

* XML was designed to describe data and to focus on what data is.
* HTML was designed to display data and to focus on how data looks.
* XML Does not DO Anything
* XML was not designed to DO anything.

Maybe it is a little hard to understand, but XML
does not DO anything. XML was created to structure,
store and to send information.The following example
is a note to Anja from Vidar, stored as XML:
<note>
<to>Anja</to>
<from>Vidar</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

The note has a header and a message body. It also has
sender and receiver 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

XML is Free and Extensible

XML tags are not predefined. You must "invent" your own tags.

The tags used to mark up HTML documents and the structure of 
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 own tags and his own document structure.