c ++ xml数据绑定 [英] c++ xml data binding

查看:169
本文介绍了c ++ xml数据绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在线不同的java xml数据绑定工具有几个比较。我希望看到这是用于xml数据绑定的不同c ++工具之间的有用比较。



您在c ++中为xml数据绑定使用哪种工具? CodeSynthesis和xmlbeanscxx是一些可用的选择。



我希望大家在下面添加有关这种技术的经验的信息,包括推荐选择一种工具,易于使用和性能。还可以随时添加有关命名空间支持,解析选项(树/流)等的技术信息。






CodeSynthesis XSD



(随意添加信息这里)



许可证:具有例外的GPL2 /专有



缺点:生成的代码应该被打开。 >




xmlbeanscxx



(随意添加信息)



许可证:Apache



缺点:








Boost序列化库



(随意添加信息)



许可证:Boost

解决方案

我使用的是开源的 GSOAP

There are several comparisons of the different java xml data binding tools online. I'd like to see this become a useful comparison between the different c++ tools for xml data binding.

Which tool are you using for xml data binding in c++ ? CodeSynthesis and xmlbeanscxx are a couple of the available choices.

I'd like everyone to add information below about their experience with this technology including reasoning to choose one tool over another, ease of use, and performance. Also feel free to add technical information regarding namespace support, parsing options(tree/streaming), etc.


CodeSynthesis XSD

(Feel free to add Information Here)

License: GPL2 with exceptions / Proprietary

Cons: generated code should be opensourced.


xmlbeanscxx

(Feel free to add Information Here)

License: Apache

Cons:


Boost Serialization Library

(Feel free to add Information Here)

License: Boost

解决方案

I'm using the open-source GSOAP toolkit from SourceForge for XML C++ auto-serialization. Also works for plain C. It binds C/C++ to XML schemas automatically and is fully compliant with industry standards for XML, WSDL, SOAP, REST, XML-RPC, JSON, and WS-* protocols. It's pretty efficient too.

这篇关于c ++ xml数据绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆