This project is read-only.


XBRL unit elements specify the units in which a fact has been measured. Some examples of simple units of measure are EUR (Euros), meters, kilograms and FTE (Full Time Equivalents). Some examples of complex units of measures are Earnings per Share and Square Feet.
The sample XBRL document shown below contains one unit:
<?xml version="1.0" encoding="UTF-8"?>
    <xbrll:schemaRef xlink:arcrole=""
    <ifrs-gp:OtherOperatingIncomeTotalFinancialInstitutions contextRef="J2004" decimals="0" unitRef="EUR">38679000000</ifrs-gp:OtherOperatingIncomeTotalFinancialInstitutions>
    <ifrs-gp:OtherAdministrativeExpenses contextRef="J2004" decimals="0" unitRef="EUR">35996000000</ifrs-gp:OtherAdministrativeExpenses>
    <ifrs-gp:OtherOperatingExpenses contextRef="J2004" decimals="0" unitRef="EUR">870000000</ifrs-gp:OtherOperatingExpenses>
    <ifrs-gp:OtherOperatingIncomeTotalByNature contextRef="J2004" decimals="0" unitRef="EUR">10430000000</ifrs-gp:OtherOperatingIncomeTotalByNature>
    <xbrli:context id="BJ2004">
            <xbrli:identifier scheme="">ACME</xbrli:identifier>
    <xbrli:context id="EJ2004">
            <xbrli:identifier scheme="">ACME</xbrli:identifier>
    <xbrli:context id="J2004">
            <xbrli:identifier scheme="">ACME</xbrli:identifier>
    <xbrli:unit id="EUR">

Each unit found in an XBRL fragment is represented in Gepsio by an object of the Unit class.
Gepsio correctly translates the string-based ISO 4217 information specified in the unit into .NET-friendly culture and region objects. ISO 4217 is the international standard describing three-letter codes to define the names of currencies established by the International Organization for Standardization (ISO). The ISO 4217 code list is the established norm in banking and business all over the world for defining different currencies, and in many countries the codes for the more common currencies are so well known publicly, that exchange rates published in newspapers or posted in banks use only these to define the different currencies, instead of translated currency names or ambiguous currency symbols.
Each of the properties is described below.


A string representing the ID of the unit, as defined by the “id” attribute on the unit’s tag.


A list of QualifiedName objects. There is one QualifiedName object in the list for every measure defined in the unit.
The list is implemented as an object of the standard .NET System.Collections.Generic.List class, and you can apply all of the operations available to objects of the System.Collections.Generic.List class to this list.
See the section on page 31 called “Qualified Names” for more information on Gepsio QualifiedName objects.


A reference to a .NET RegionInfo object populated with information from the unit’s ISO 4217 code.


A reference to a .NET CultureInfo object populated with information from the unit’s ISO 4217 code.


A Boolean value specifying whether or not the unit specifies a ratio. The value is true if the unit is a ratio, and false if the unit is not a ratio. Units with ratios are defined through the use of an XBRL <divide> element in the unit definition.

Last edited Jan 31, 2011 at 1:22 AM by JeffreyFerguson, version 1


No comments yet.