tags:

views:

961

answers:

5

I have to write a C++ Application (using the Qt Framework for the GUI) that can edit data stored in xml files described by a xsd schema file. Is there a tool to convert the xsd schema into C++ Classes?

A: 

Altova XML Spy can generate C++ from an XSD, it's commercial but there's a 30 day free trial if you want to try it out.

Tom
+3  A: 

Sounds to me like CodeSynthesis is exactly what you are looking for. It's open source and c++.

mickus
A: 

There's a Microsoft tool which does this, I think, called xsd.exe (but I haven't tried it myself).

ChrisW
I could be wrong, but it seems this doesn't support C++, only .Net C#, VB and J#
Andre
A: 

Codalogic LMX is also an option.

Pete Cordell