Okay XBRL seems rather cool. There is a java api out there but it is written by 1 of the contributor’s to XBRL and seems bizarre at best. The best way to learn XBRL is to implement it and so that is what I have started to do.
The SEC xbrl files consist of a number of files (not the complete list):
- The main fact file consisting of raw data, contexts (period definitions) and units (monetary, shares, money / share).
- A calculation file which defines the links between summary items and their sub-items.
- A presentation file
- A definition file
Today I started on a parser to read in the main fact file.