1

In C#, I use XSD2Code in order to:

  • generate automatically entities from XSD
  • generate methods which serialize/deserialize XML stream in these entities

Does it exist in the native C++ world?

I am looking for libs which work on Windows.

Patrice Pezillier
  • 4,476
  • 9
  • 40
  • 50
  • 1
    possible duplicate of [XML Schema to C++ Classes](http://stackoverflow.com/questions/445905/xml-schema-to-c-classes) – sehe Mar 27 '13 at 09:50
  • also http://code.google.com/p/xplus-xsd2cpp/ – sehe Mar 27 '13 at 09:52
  • `@Patrice` don't tell me! Fix your question instead! – sehe Mar 27 '13 at 10:40
  • Unfortunately, [xplus-xsd2cpp](http://code.google.com/p/xplus-xsd2cpp/) does not advertise support for Windows. As of the date of my comment, only Linux variants and Mac OS X are listed as supported platforms. – DavidRR Oct 23 '13 at 13:11

1 Answers1

0

No, C++ has no such feature.

However, there are a plurality of libraries for C++ which provide everything you could possibly need. I am sure that at least several will exist to suit your XML needs (yuck!).

In particular, "CodeSynthesis XSD - XML Data Binding for C++" looks promising.

I get 1,120,000 Google results for xsd xml c++.

Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055
  • 3
    One of those google results (in fact, the second after CodeSynthesis for me) is this: http://stackoverflow.com/q/445905/85371 – sehe Mar 27 '13 at 09:50