XML data binding for C++ like JAXB for java

倖福魔咒の 提交于 2019-12-02 02:16:16

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!