I have seen many posts in forum on how to create a C# class using XML. This article is to show how to generate a C# class from xml.
What I will do is
1. Go to Visual Studio 2013 from start menu.
2. Choose Visual Studio Tools.
3. Open VS2013 x64 Native Tools Command Prompt.
4. Change to the directory with the xml file, in this case the folder with books.xml.
5. Type xsd /c books.xml.
Then you will get books.xsd.
6. Type xsd /c books.xsd.
Then you will have books,cs. This is the class you want.