XML allows the author to
define his own tags and his own document structure.
The tags in the example above (like <to> and <from>) are
not def inedin any XML standard. These tags are "invented" by the
author of the XML document.
With XML, the data is stored outside your HTML.
When HTML is used to display data, the data is stored inside your
HTML. With XML, data can be stored in separate XML files. This way you
can concentrate on using HTML for data layout and display, and be
sure that changes in the underlying data will not require any changes
to your HTML.
XML data can also be stored inside HTML pages as "Data Islands". You
can still concentrate on using HTML only for formatting and displaying
the data. XML is used to Exchange Data
With XML, data can be exchanged between incompatible systems.
In the real world, computer systems and databases contain data in
incompatible formats. One of the most time-consuming challenges for
developers has been to exchange data between such systems over the
Internet.
Converting
the data to XML can greatly reduce this complexity and create data that
can be read by many different types of applications. XML and B2B
With XML, financial
information can be exchanged over the Internet.
Go To
Index
|