-----喜欢一切有兴趣的东西
1.use XSD.exe
Start -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools -> Visual Studio Command Prompt
2.from a xsd file to class
xsd /c /namespace:myCompany /language:CS temp1.xsd