XML data binding for C++ like JAXB for java

后端 未结 1 1617
星月不相逢
星月不相逢 2021-01-21 20:24

I am writing this question as a complete **naive** in this field of \"Use of data binding and parsing in c++\". So, please bear with me . :)

You may find this question

相关标签:
1条回答
  • 2021-01-21 21:00

    Answer to the first question: No! Serialization is almost always a small subset of data-binding. Data binding gives you an object model specific to your schema. That means you have to have a schema to use data-binding. No such need for XML serialization/deserilization. Check this too: http://www.rpbourret.com/xml/XMLDataBinding.htm

    2) It is like comparing apples and oranges. As far as ease-of-use is concerned, I would say data binding is better.

    3) This thread looks relevant: http://lists.xml.org/archives/xml-dev/200812/msg00141.html

    0 讨论(0)
提交回复
热议问题