XML Programming  «Prev  Next»

Advantages of XML

HTML: Pre-defined tags are used to create a table
XML:
A markup language is defined to create an inventory catalog
Document structure:
The element <book> contains the elements <Author>, <ISBN>, and <Copyright>
XML elements:
<Introduction>, <Name>, <Street>, <Dessert>

Advantages of XML

Using XML to exchange information offers many benefits.
Advantages of XML include the following:
  1. XML uses human, not computer, language. XML is readable and understandable, even by novices, and no more difficult to code than HTML.
  2. XML is completely compatible with Java and 100% portable. Any application that can process XML can use your information, regardless of platform.
  3. XML is extendable. Create your own tags, or use tags created by others, that use the natural language of your domain, that have the attributes you need, and that makes sense to you and your users.