C# serializable classes to xsd

萝らか妹 提交于 2019-12-23 09:04:26

问题


Is there a way of outputing xml schemas (xsd) from serialisable c# classes? I have had a look about the web but im not sure im searching for the right stuff.

Thanks


回答1:


You're looking for XSD.exe http://msdn.microsoft.com/en-us/library/x6c1kb0s.aspx

Point it at a .dll and it will generate schemas for your classes.




回答2:


Xsd2Code works well

http://xsd2code.codeplex.com/



来源:https://stackoverflow.com/questions/6709984/c-sharp-serializable-classes-to-xsd

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!