Logo Reporting Standard S.L. Skip to content English | EspaŮol

November 2007

Transformation Engine from XBRL to HTML More information at the WIKI

How can XBRL files content be seen?

This has always been a question in the XBRL community; today, this question has two very simple answers.

  1. Using Reporting Standardís XBRL Report Viewer
  2. Use the new XhBtRmL language to develop simple templates that can generate HTML for users.

Letís follow a real example:

Step 1: Download the sample instance document and taxonomy containing Google Inc. financial information.
(*) Click here to see the page in Google server.

Step 2: Users, if desired, could choose to change the content of the instance document.

Step 3: Upload the instance document using the following form:

Click here for direct access to the result page

This is a demonstration of a possible use of Reporting Standardís XBRL Transformation Engine. Another use is the massive upload of XBRL data into any sort of repository.

The demonstration was able to generate an HTML web page from an instance document using a set of templates written in the XhBtRmL language.

Templates can be created for a specific taxonomy or generic enough to deal with general XBRL representation.

Templates are easy to build, certainly much easier than building XSLT templates, based on:

  • Templates have access to all the information in the DTS, labels, references , etc., new variables can be added by using configuration files.
  • Templates are specifically designed for XBRL reports.
  • Templates contains iterators for the following information in the report:
    • Dates in contexts or groups of dates in contexts
    • Trees in the presentation link base
    • Trees in the calculation link base
    • Other hierarchical organizations stored in linkbases
    • Domain members of dimensions
    • Concepts in a taxonomy
    • Fact elements in the instance filtered by previous iterators
  • Templates may use IF THEN ELSE conditions structure
  • Templates may be nested, and be called from, other templates
  • Templates can use XPath 2.0 expressions ,and use XBRL specific functions

For more information about XBRL Templates download the examples used for the Google instance document.