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

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

问题描述

有几种比较不同的java xml数据绑定工具在线。我想看到这成为一个有用的比较用于xml数据绑定的不同的c ++工具。



您在c ++中使用哪个工具来进行xml数据绑定? CodeSynthesis和xmlbeanscxx是几个可用的选择。



我想让大家在下面添加关于他们使用这项技术的经验,包括推理选择一种工具,使用方便性和性能。也可以随意添加关于命名空间支持,解析选项(树/流)等的技术信息。






代码合成XSD



(随时可在此处添加信息)



许可证:GPL2有例外/专有



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






xmlbeanscxx



(随意在此处添加信息)



许可证:Apache



/ p>






Boost序列化库



(随时可以在此处添加信息)



许可证:Boost

解决方案

我使用来自SourceForge的开源 GSOAP 工具包进行XML C ++自动序列化。也适用于纯C。它自动将C / C ++绑定到XML模式,并完全符合XML,WSDL,SOAP,REST,XML-RPC,JSON和WS- *协议的行业标准。它也很有效率。


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天全站免登陆