Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Convert C# Class to xml wth xsd.exe

set XmlFilename=Your__Xml__Here
set WorkingFolder=Your__Xml__Path_Here

set XmlExtension=.xml
set XsdExtension=.xsd

set XSD="C:Program Files (x86)Microsoft SDKsWindowsv8.1AinNETFX 4.5.1Toolsxsd.exe"

set XmlFilePath=%WorkingFolder%%XmlFilename%%XmlExtension%
set XsdFilePath=%WorkingFolder%%XmlFilename%%XsdExtension%

%XSD% %XmlFilePath% /out:%WorkingFolder%
%XSD% %XsdFilePath% /c /out:%WorkingFolder%
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Convert #Class #xml #wth
ADD COMMENT
Topic
Name
8+2 =