« SGML/HTML to be Phased Out by SEC? | Main | U.S. Securities and Exchange Commission Mandates XBRL »

Hello World! XBRL Example

Ever wanted a really simple example of XBRL?  Well, you are in luck.  Here is a very basic example of what XBRL is, how it works, and how easy it is to create.

This example shows the very basics.  It consists of:

The best way to use this is to download the ZIP file which contains the Excel spreadsheet, the taxonomy and the instance document.  You can look at the taxonomy and the instance document.  Open the Excel spreadsheet.  NOTE THAT IT CONTAINS MACROS!!!  Go to the workbook "Hello World Example" and simply press the buttons on the right, in order preferably, and you can create your own XBRL.  You can go to the "Create HelloWorld Taxonomy" spreadsheet to generate the taxonomy.

Some things to note about this "Hello World" example:

  • While the example is pretty basic, you can get a really good sense for what is going on, how things work, how to generate your own simple instance documents, and how easy creating basic XBRL really is.
  • You will realize that you don't NEED any fancy tools to get started.  But BEWARE!!!  There is no XBRL validation being done by the example.  However, if you grab a validator and validate it, you will see that this is valid XBRL.  It is not that I am recommending creating XBRL without a validator.  This is not a production system, it is only a simple demo.
  • If you look at the example you will note there are no linkbases.  Ah, those mean and nasty linkbases!  Well, you will also see that you don't have much metadata.  No labels, no calculations being expressed, no formulas, no references, no nothing but concepts.  Looks a lot like normal XML.  Well, it is.  The point is that all those mean and nasty linkbases is where all the helpful metadata is.  You are going to want those to get all that great metadata they provide.
  • If you are proficient with Excel, you can probably read the VBA which makes this go.  The example does not even use an XML parser to generate the XBRL, it basically just writes a text file.  The VBA which extractes data from the instance and populates it does use an XML parser.
  • See how the mapping workbook is used to both generate the XBRL and also to populate the spreadsheet from the XBRL file.  Two way process using the same mapping.

Sure, this is not perfect, it is not robust, and it certainly is not some big scalable application for using XBRL.  But, it is useful in helping you see the basics, reverse engineering how to work with XBRL and for some general experimentation.

For more information go to the Learning about XBRL page and/or Digital Financial Reporting.

Posted on Thursday, December 18, 2008 at 08:39AM by Registered CommenterCharlie in | Comments6 Comments | References110 References

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (110)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    [...]Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium[...]
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: pest control
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: online reputation
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: dumpsters
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: phen375 for sale
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: buy phen375
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: phen375
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: buy phen375
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: hcgsetup.com
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: D D Photographics
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: search engine
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: order no2 maximus
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: order no2 maximus
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Wrinkle Rewind
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: heart health tips
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: exposed skin care
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: RE/MAX
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: gluten free diet
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: total cleanse
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: paleolithic diet
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: black skin care
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: No2 Blast Review
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Matrixyderm
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Sleep Aid Review
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: best hosting vps
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: marlene dietrich
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Anisa Skin Care
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: makeupbaby.com
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: purevolume.com
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: vps coupon
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: the advantage
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Custom wordpress
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: universal tv stand
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: game mobile
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: visit the site
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: universal tv Stand
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Reviews
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: herbal x direct
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: gift card steam
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: shoe care Reviews
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Online Cash
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Diet Ultima Review
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: full report
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Adaraderm Review
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: vincent malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: Vincent Malfitano
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Response: fake michael kors
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium
  • Response
    Hello World! XBRL Example - Blog: Digital Financial Reporting (using XBRL) - Semantic, structured, model-based authoring of digital financial reports leveraging the XBRL medium

Reader Comments (6)

precise n easy.nice article
October 7, 2010 | Unregistered Commenterbgb
plz how to execute the hellow world example and how to mapping
December 21, 2011 | Unregistered Commenterchandrakanth
NICE JOB !!!
May 31, 2012 | Unregistered Commenterpeer
Great example!
October 30, 2012 | Unregistered CommenterTamara_ArtCPA
urgh.
this is an adobe dreamweaver way of explaining html.
aka. obfuscated by a user interface (excel)
December 1, 2012 | Unregistered Commenteradrian
agree with that
July 22, 2013 | Unregistered Commenterkiroshima

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.