I have written the following project for fun some time ago:
It is auto-generated DOM for .NET together with a simple viewer written in OpenGL.
I have uploaded it on github in case that someone finds it useful. Consider the code Public Domain, MIT or BSD - whichever you like; I do not really care what you use it for. Just say thanks here if it is actually useful to you