I know examples but there are not free tools. Need one that is free and reliable. Thanks!
views:
156answers:
3
+7
A:
You can use XSD.exe, which is part of the Microsoft .Net SDK.
A sample usage of this tool would be (from the command line):
xsd.exe MySchema.xsd /classes /namespace:My.Schema.Namespace
which would output a class file MySchema.cs
which contained the generated code for your schema. It can also output a VB or CPP file if you specify the language flag.
womp
2009-08-28 06:03:30
Just what I was about to say ;-p
Marc Gravell
2009-08-28 06:04:42
I am not familiar with .NET platform at all, could you say how I should use XSD.exe if I have installed the platform? Thanks.
Narek
2009-08-28 06:06:56
Google for XSD.exe. More than enough information on MSDN and lots of other sites...
markus
2009-08-28 06:09:25
Narek I was just editing my answer to provide an example. See if that helps.
womp
2009-08-28 06:09:54
For more info on using the XSD tool check out this MSDN page: http://msdn.microsoft.com/en-us/library/x6c1kb0s.aspx
Ahmad Mageed
2009-08-28 06:11:06
AFAICT Microsoft's XSD cannot generate C++, just .net languages.
danio
2010-09-23 09:46:58
+2
A:
I am not sure what type of "free" you are looking for but I have used the open source codesynthesis xsd tool www.codesynthesis.com/products/xsd/ for c++ data binding.
ridale
2009-08-28 09:50:10
+1
A:
check out freeware: http://sourceforge.net/projects/xmlplus/
Satya Prakash Tripathi
2010-10-27 06:30:17