1

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?

1

Try this: http://webservices20.blogspot.de/2009/04/opengis-with-net-20-and-wcf.html There you can download an working package of gml.xsd

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.