• Sign In
 
  • MSDN Blogs
  • Microsoft Blog Images
  • More ...
Search
  • Advanced search options...
Tags
  • .NET
  • Altova
  • blogging
  • code samples
  • Codeplex
  • Custom XML
  • DII
  • DIS29500
  • ECMA-376
  • IBM
  • Java
  • Monarch
  • ODF
  • Office 2007
  • OpenXMLDeveloper.org
  • PHP
  • Redmond
  • SharePoint
  • System.IO.Packaging
  • TechEd
  • UOF
  • VSTO
  • Windows
  • WordprocessingML
  • workshops
Archives
Archives
  • January 2012 (1)
  • October 2011 (1)
  • July 2011 (2)
  • April 2011 (1)
  • March 2011 (3)
  • December 2010 (1)
  • August 2010 (1)
  • June 2010 (1)
  • May 2010 (1)
  • April 2010 (3)
  • March 2010 (1)
  • November 2009 (4)
  • October 2009 (1)
  • September 2009 (2)
  • July 2009 (2)
  • June 2009 (4)
  • May 2009 (5)
  • April 2009 (4)
  • March 2009 (4)
  • February 2009 (2)
  • January 2009 (4)
  • December 2008 (4)
  • November 2008 (3)
  • October 2008 (4)
  • September 2008 (3)
  • August 2008 (2)
  • July 2008 (5)
  • June 2008 (7)
  • May 2008 (5)
  • April 2008 (8)
  • March 2008 (14)
  • February 2008 (15)
  • January 2008 (13)
  • December 2007 (12)
  • November 2007 (5)
  • October 2007 (9)
  • September 2007 (6)
  • August 2007 (10)
  • July 2007 (9)
  • June 2007 (8)
  • May 2007 (12)
  • April 2007 (14)
  • March 2007 (12)
  • February 2007 (10)
  • January 2007 (17)
  • December 2006 (14)
  • November 2006 (10)
  • October 2006 (11)
  • September 2006 (12)
  • August 2006 (12)
  • July 2006 (12)
  • June 2006 (23)
  • May 2006 (14)
Common Tasks
  • Blog Home
  • Email Blog Author
  • About
  • RSS for comments
  • RSS for posts

XBRL and Open XML

Doug Mahugh - Office Interoperability
MSDN Blogs > Doug Mahugh > XBRL and Open XML

XBRL and Open XML

Doug Mahugh
9 Mar 2007 2:26 PM
  • Comments 2

As a brief follow-up to my post on microformats and Open XML, I'd like to show a slightly different (and, frankly, more common) variation on using custom XML parts.

Many organizations and industries have custom schemas that they've standardized upon. A good example is XBRL (eXtensible Business Reporting Language), a set of XML-based vocabularies for describing the types of information that appear on financial reports. Let's take a look at how an Open XML document might handle XBRL data.

Consider the sample XBRL instance posted on XBRL.org here:

Let's consider a hypothetical scenario where an analyst can get XML documents like this for various companies they're tracking. And let's say the analyst has a standardized look and feel for presenting this information. How might Open XML help them create a solution that can quickly and easily display any company's financial data in their standardized format? To keep this example simple, let's say that our goal is to product reports that look like the human-readable version of that same data as presented on the XBRL.org site.

We start from our chunk of XML containing the XBRL-coded financial information, which might look like this:

Then we create an Open XML document and insert content controls for the nodes that we want to display in our report. The above XML goes into the document as a custom XML part, and after binding the nodes (as described in my previous post), the resulting document looks something like this:

It's nothing fancy (I've deliberately kept this example very simple), but my goal here was to show the basic architecture of a typical data-driven report that displays data based on a custom schema. The above document (attached) has a nice clean custom XML part that only contains the XBRL data, and that part can be replaced easily by any programming environment that can deal with ZIP archives. Note that a full-blown XBRL implementation would probably include data-entry functionality and interactive analysis capabilities, and the sample shown here would just be one of many reporting options.

Attachment: XBRLsample.docx
  • 2 Comments
Custom XML, XBRL
Comments
  • content source » Blog Archive » XBRL and Open XML
    10 Mar 2007 8:23 AM

    PingBack from http://opencontent.info/xbrl-and-open-xml/

  • Blog de Neodante (Julien Chable)
    22 May 2007 3:50 AM

    J'aurais aimé faire un post complet sur ce sujet, mais le temps se fait désirer en ce moment ... à cause

Page 1 of 1 (2 items)
  • © 2012 Microsoft Corporation.
  • Terms of Use
  • Trademarks
  • Privacy Statement
  • Report Abuse
  • 5.6.402.223