Hi Friends,
I came across one requirement in my last project to create class file from the XML schema.
I would like to share the points for doing this task in .NET.
1. Create XML Schema(.xsd) file.
2. Goto Visual Studio Command Prompt.
3. From the command prompt, run the xsd.exe
Syntax: xsd Schema.xsd /classes /language:[CS/VB]
Example: xsd c:/abc.xsd /classes /language:CS
You will get newly created class file.
Thanks.
Happy Coding..!!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment