We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
http://www.w3.org/XML/Schema 上有大量数据绑定代码生成器 ,只需在网站中搜索
C++
即可。另请详细描述为什么来自 XML 规范的 C++ 代码生成器< /a> 没有帮助。There is a huge list of data binding code generators on http://www.w3.org/XML/Schema , just search the site for
C++
. Also please describe in detail why the answers on A C++ code generator from an XML spec weren't helpful.http://www.rpbourret.com/xml/XMLDataBinding.htm 中的信息可以非常有帮助。但请注意,该网站上的工具列表正在慢慢过时。 W3C 数据绑定工具列表 http://www.w3.org/XML/Schema 是已过时(最后一次更新是在 2009 年)。
我正在为我的所有 XML C++ 项目使用 SourceForge 的 GSOAP 工具包。也适用于纯 C。它自动将 C/C++ 绑定到 XML 模式,并且完全符合 XML、WSDL、SOAP、REST、XML-RPC、JSON 和 WS-* 协议的行业标准。
GSOAP 得到积极维护,易于使用,而且也非常高效。
The information at http://www.rpbourret.com/xml/XMLDataBinding.htm can be very helpful. But beware that the list of tools on that web site is slowly getting out of date. The W3C list of data binding tools http://www.w3.org/XML/Schema is outdated (the last update was way back in 2009).
I'm using the GSOAP toolkit from SourceForge for all of my XML C++ projects. 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.
GSOAP is actively maintained, easy to use, and pretty efficient too.