views:

60

answers:

3

I'm not sure what exactly the right term is, kind of like ORM using XML as the data store. Are there any decent tools which will autogenerate C++ classes (including data and serialization/deserialization) based on an XML schema? Or will create XML-sync code and schema based on a C++ class definition?

TinyXML is great but it's so old-school to spend all that time writing code to load/save XML data to classes. I've seen similar tools focused on SOAP/WSDL, but they generated all kinds of other code on top of the basics.

Any good open-source libraries out there?

+1  A: 

The only thing I've seen that attempts to do this is CodeSynthesisXSD.

Jerry Coffin
We tried this and about 5 other products, this was the winner.Good support too.
Greg Domjan
A: 

Not open source, but won't XML Thunder work for you?

Ira Baxter
It's C rather than C++ but worth a look. I can't see a download/buy/pricing link on their site though, can you?
John
Don't know much else about them other than they've been doing this a long time. Good luck.
Ira Baxter