Sunday, 9 December 2012

Advantages & Disadvantages of XML


Advantage of XML:
  1. It is text-based.
  2. It is platform-independent.
  3. It manifests as plain text files.
  4. Integrating with Existing Data Types
  5. Extensibility
  6. It supports Unicode (allowing information in any language).
  7. It can represent data structures: records, lists and trees.
  8. It is based on international standards.
  9. The hierarchical structure is suitable for most types of documents.
  10. It makes parsing algorithms simple, efficient, and consistent. .
.
Disadvantage of XML :
  1. Syntax is redundant or large relative to binary representations of similar data
  2. The hierarchy schemata can be limiting
  3. Syntax is verbose relative to other alternative 'text-based' formats.
  4. More difficult, demanding, and precise than HTML
  5. It does not support data types, such as 'integer', 'string', 'boolean', and so on.
  6. Lack of browser support/end user applications
  7. The hierarchical model for representation is limited in comparison to an object oriented model.
  8. Namespaces are problematic to use and support

No comments:

Post a Comment