Thursday, September 26, 2013

create schema from xml file using visual studio

1. open xml file with VS
2. while opened, vs will generate some separate files
3. open cmd window
4. type  xsd command
    for example:
               xsd lte1.sxd lte2.xsd lte3.xsd  /classes /n:"LTE"
this command will generate .cs file, and can be used for parsing xml file.

No comments:

Post a Comment