Okey, this isn't your everyday XML question. What I want is; given a xml file - generate some kind of CIL code and instantiate a object of that class and then populate it (deserialize).


I don't want to use a xsd schema and I need to do everything runtime.


Any suggestions, I know how to create a .cs file during runtime. But is that the only way? Then I have to compile it runtime as well. Is that even recommended Smiley ?

Might annoy some people but I want to have it as easy as possible. The xml object will populate a data form of some kind, if you want to know.


Love any input!