BLOG:  Digital Financial Reporting

This is a blog for information relating to digital financial reporting.  This blog is basically my "lab notebook" for experimenting and learning about XBRL-based digital financial reporting.  This is my brain storming platform.  This is where I think out loud (i.e. publicly) about digital financial reporting. This information is for innovators and early adopters who are ushering in a new era of accounting, reporting, auditing, and analysis in a digital environment.

Much of the information contained in this blog is synthasized, summarized, condensed, better organized and articulated in my book XBRL for Dummies and in the chapters of Intelligent XBRL-based Digital Financial Reporting. If you have any questions, feel free to contact me.

Entries in Data formats (1)

Many Different Data Formats, Why XML?

This is a series of posts where I am providing information relating to figuring out what the best data format to use and why. Basically, when is XML better, when is XBRL better, and when is RDF/OWL better.

If you have been working with computers as long as I have you have likely run across many different data formats.  Here is a list of the common data exchange formats (other than database file formats):

Each of those files expresses the same information in a different way.  Another way of saying this is that each file format has a different syntax.  There are lots of other file formats (see http://www.fileinfo.com/filetypes/data).  Imagine having to write software to parse and use these different data formats.

To make a very long story short, XML is becoming quite popular.  XML is a meta language, a language for building languages.  XML is a syntax.  The XML syntax is becoming very popular for the following reasons:

  1. It works well over the Web.
  2. It is platform independent. (Meaning, it is just a text file, pretty much any computer can read XML.)
  3. It can express complex information structures well. (For example, CSV cannot be used to expess a hierarchy.)
  4. It is readable by both humans and by computers.
  5. It is self-describing.  (Meaning, the information which describe the information, called metadata, is available with the information.  A contra example is that there is no standard way to describe the contents of say a a CSV file.)
  6. There are lots of free or low-cost XML parsers available.  There are many XML editors available.  There are many XML schema editors available.
  7. XML is easy to create by hand or generated by a computer application.

The Chamber of Commerce has an excellent explanation of XML.  On the one hand, every file format has its pros and cons.  (For example, JSON is far less verbose than XML and easy for many Java developers to use.)  On the other hand, agreeing on one format has its advantages.

Bottom line: Lots of people are agreeing on XML.  This saves time and money.

Posted on Sunday, April 18, 2010 at 09:11AM by Registered CommenterCharlie in , | CommentsPost a Comment | EmailEmail | PrintPrint