DZone

When it comes to transmitting and manipulating raw data, CSV and XML are two of the most popular file formats; CSV provides a simple way to organize data, and XML displays data using a markup language. However, if you need to perform complex data manipulation or data transfer between an array of applications, XML has wider support across programs than CSV. The CSV (Commas Separated Values) format, while great at organizing and storing data, presents a few problems when it comes to readability. Understanding the data contained in a CSV file is dependent on knowledge of the headers, and even then the potential for error is high.

The Extendable Markup Language (XML) format was developed with simplicity and usability across the internet in mind; this component alone makes it the preferred format for use in web services and applications. In addition to internet compatibility, XML provides support for various human languages via Unicode, making it ideal for international business as well. XML-based document formats are used for an array of needs including office productivity tools, communication protocols, and industry data standards.

Source: DZone