Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XML data binding wizard alternative

Tags:

xml

xsd

delphi

The Delphi data binding wizard seem to have problems with complex XSD files. Whenever several XSD files reference each other (using the @include keyword i believe), the prefixing of namespaces go out the window. This makes it impossible to use the Delphi XML data binding wizard with large and complex schemas. In my case, the standard message structures used by the Norwegian government.

Are there any alternative xml data binding wizards on the marked? At the moment i have to generate the XML by code which is less than desireable. The whole point of using the automated wizard is to save time and being able to adapt to changes in standards more quickly.

See the following article for a more in-depth presentation of the problem: Delphi XML Databinding pains

like image 542
Jon Lennart Aasenden Avatar asked Sep 23 '13 11:09

Jon Lennart Aasenden


1 Answers

Pre-processing the xsd-files to include the includes might be a more effective way to go than searching for another data binder. Or, if your work process allows for it, generate binding from the xsd-conformant xml rather than from the xsd.

like image 77
user508402 Avatar answered Nov 15 '22 23:11

user508402