views:

383

answers:

1

I need to import some XML schemas.
In Delphi, I would use the the XML Data Binding Wizard to generate the Pascal code from the schemas.
Is there something like that in Delphi Prism to avoid writing all this boilerplate code?

+5  A: 

Try xsd.exe from the Microsoft SDK. /l:Oxygene generates Delphi Prism code.

Peter Nowotnick
Got this error: "Could not find specified code provider type: Chrome"
François
Is Prism installed? The command-line version doesn't work. You can try /l:Oxygene. Both works on my computer.
Peter Nowotnick
If you mean Delphi Prism, yes, it is installed (with the VS coming with it). But I don't see how I can launch xsd except from command line?
François
And /l:Oxygene gives the same error message.
François
I think this error message comes from the xsd-Tool included into the mono-distribution. Make sure you use the one from the Microsoft SDK.
Peter Nowotnick