Advantages of XML


Advantages of XML

Home | About | Posts

Advantages of XML include:

  • XML uses human language, not computer.
  • XML is completely compatible with Java and 100% portable. Any application that can process XML can use your information, regardless of platform.
  • 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.

Following Example illustrates readability and extensibility of XML:

HTML Example

State

City

Name

Johnson

Population

5000

City

Name

Pineville

Population

60000

XML Example

HTML tag names reveal nothing about the meaning of their content. The Example above uses an HTML definition list, but the problems inherent in using HTML occur if the data were contained in a table or some other kind of HTML tags.

Examples follow:

  • Many of the HTML tags are acronyms, they are not as readable as common language.
  • HTML tags represent data (in this example, city names and populations) as items to display, for example, as definitions in a list or cells in a table. This makes it difficult to manipulate the data or to exchange it between applications.

The XML tag names are readable and convey the meaning of the data. The information structure is simply discerned by both humans and computers as each XML tag immediately precedes the associated data. The data structure follows a noticeable and useful pattern, making it simple to manipulate and exchange the data.

Video: Advantages of XML

Playlist: Advantages of XML

Home | About | Posts

XML.KIT.COM

XML.KIT.COM | Newsletter

Read more from XML.KIT.COM

XML.KIT.COM Extensible Markup Language Broadcast 1 Welcome to XML.KIT.COM Broadcast About | Posts CALL | MAIL XML.KIT.COM Advantages of XML bcif.github.io © 2025 XML.KIT.COM