XSD to Delphi Classes without XML binding

本秂侑毒 提交于 2019-12-04 00:01:56

Reading between the lines (please use less abbreviations, for instance, VS has multiple meanings, even in computing), and You probably used the XSD.EXE tool in Visual Studio or the .NET SDK to generate your source code in the C# or VB.NET language.

If you have Delphi Prism, you can use XSD.EXE to generate Delphi Prism source code.

The Delphi Prism language is very close to the Delphi native language, so that will give you a kick start.

This should work with the Delphi Prism trial too.

BTW: Why do you not want to use the Delphi native code generated by the XML Data Binding Wizard in a standalone way? It is interface based, but is pretty fast and works very well.

http://sourceforge.net/projects/xxsd2code/ generates C++, C#, C++/CLI and Java - and it looks like the included 'LanguageWriter' classes are not too complicated to extend them for Delphi. The Java LanguageWriter for example has less than 400 lines. If there is interest in the Delphi community this could be implemented and contributed in a short timeframe...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!