With Microsoft Visual Studio 2010 comes a tool called xsd which can automatically generate C# source code to easily deal with XML files corresponding to a given schema. I have a very complex XSD schema based on the GML schema. But after several days I had not even success to parse the GML schema standalone (without trying to parse my own 'custom schema').
Somehow the xsd tool seems to have problems following the included references for other referenced xsd schemas. Several forums advise to add these xsd files as command line parameter to the xsd call. But this doesn't work because suddenly some types are already defined. I suppose that the include happens in a circle. In the meantime I have already downloaded about 70 xsd schemas that are somehow used by GML schema (gco, gmd, gsr, gss, gts, ows, xlink). So I'm asking me if someone already successfully generated classes of the GML schema before?