This project is read-only.

Getting Started With Gepsio

Working with Gepsio is extremely straightforward:

1. Reference the JeffFerguson.Gepsio.dll assembly in your .NET 3.5 project.
2. Create an instance of the JeffFerguson.Gepsio.XbrlDocument class.
3. Call Load() on the JeffFerguson.Gepsio.XbrlDocument class instance, passing in, as a parameter, the path to the XBRL document you wish to load.

If the loading is successful, then the call from Load() will return and you can begin inspecting the properties of your JeffFerguson.Gepsio.XbrlDocument class instance to examine your XBRL document. If the load was not successful, then Gepsio will throw an exception of type JeffFerguson.Gepsio.XbrlException, which will describe the load problem in detail.

Here is a simple console application written in C#:
using System;
using JeffFerguson.Gepsio;

namespace Sample
    class Program
        static void Main(string[] args)
            XbrlDocument Doc = new XbrlDocument();
            catch (XbrlException e)

Here is the same simple console application written in Visual BASIC .NET:
Imports JeffFerguson.Gepsio
Module Sample

Sub Main()
    Dim Doc As New XbrlDocument

    Catch ex As XbrlException
    End Try
End Sub

End Module

Here is the same simple console application written in C++/CLI:
#include "stdafx.h"

using namespace System;
using namespace JeffFerguson::Gepsio;

int main(array<System::String ^> ^args)
    XbrlDocument^ Doc = gcnew XbrlDocument();
    catch(XbrlException^ ex)
    Console::WriteLine(L"Hello World");
    return 0;

That’s all there is to it!

Once the call to Load() returns, you can examine the properties of the XbrlDocument object to get more information about the loaded XBRL document. See the section in the doanloadable PDF called “Gepsio Object Model” for more information on the Gepsio object model and the properties that describe the makeup of the loaded XBRL document.

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


No comments yet.