I have a complex xsd 开发者_如何转开发how can i generate deserializer for the an xml file. using this xsd
At the Visual Studio command-prompt:
xsd your.xsd /classes
which should generate your.cs
with appropriate classes for a model that matches that schema. Note that it isn't 100% perfect - there are edge-cases that can confuse it.
精彩评论