Java XML Overview - Java XML

What are the silent features of XML?

XML is a simple and popular text-based language which is designed to store and transport data in plain text format. It has a remarkable Extensible Markup Language. Some of the salient features of XML are as follows-.
  • XML is a markup language.
  • XML is a tag based language like HTML.
  • XML tags are not predefined like HTML.
  • You can define your own tags which is why it is called extensible language.
  • XML tags are designed to be self-descriptive.
  • XML is W3C Recommendation for data storage and data transfer.



What are the advantages and disadvantages of XML?

Following are the advantages that XML provides −
  • Technology agnostic – considering plain text that supposes to have in XML, which is technology independent. It can be used by any technology for data storage and data transfer purpose.
  • Human readable − XML uses simple and popular text format. It is human readable and understandable.
  • Extensible − In XML, custom tags can be created and used very easily.
  • Allow Validation − Using XSD, DTD and XML structures can be validated easily.


Following are the disadvantages of XML usage −
  • Redundant Syntax − Normally XML files contain a lot of repetitive terms.
  • Verbose – As XML is a verbose language, the size of the XML file increases with the transmission and storage costs.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

Java XML Topics