对于C ++最小XML库? [英] Minimal XML library for C++?

查看:145
本文介绍了对于C ++最小XML库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XML库是有什么,这是最小的,易于使用,并配备了小依赖性(最好没有),可以静态链接,并配有一个自由的许可证?到目前为止,我一直的 TinyXML的一个pretty开心的用户,但我很好奇什么选择我至今怀念。

What XML libraries are out there, which are minimal, easy to use, come with little dependencies (ideally none), can be linked statically and come with a liberal license? So far, I've been a pretty happy user of TinyXML, but I'm curious what alternatives I have missed so far.

推荐答案

我建议 rapidxml 。这要比TinyXML的小一个数量级,并像TinyXML的文档类型不呛呢。

I recommend rapidxml. It's an order of magnitude smaller than tinyxml, and doesn't choke on doctypes like tinyxml does.

如果您需要支持实体或任何先进的,忘了静态链接,并使用外籍人士或libxml2的。

If you need entity support or anything advanced, forget about static linking and use expat or libxml2.

这篇关于对于C ++最小XML库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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