Monday, September 20, 2010

Create classes from xml file

Go to command prompt and execute the following commands:


xsd file.xdr [/outputdir:directory][/parameters:file.xml]
xsd file.xml [/outputdir:directory] [/parameters:file.xml]
xsd file.xsd {/classes | /dataset} [/element:element]
             [/language:language] [/namespace:namespace]
             [/outputdir:directory] [URI:uri] [/parameters:file.xml]
xsd {file.dll | file.exe} [/outputdir:directory] [/type:typename [...]][/parameters:file.xml]


example:

xsd ".xml" /outputdir:"C:"
xsd ".xsd" /outputdir:"C:" /language:C# /namespane:asd class
 

No comments:

Post a Comment