开发者

Best XML parser for C [closed]

开发者 https://www.devze.com 2022-12-18 06:04 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

We have to add a new interface to our existing C application. The new interface system requests to our C 开发者_Go百科application and responses to interface will be XML files. We need find a way to read and write XML files. It seems there are many mapping tools available for Java and C++. I did not find anyone for C.

Please let me know if there is anyone suitable for C. We will be okay if it's commercial API as well.

Thanks


One of the most widely used is libxml2. You can take a look here.


It's been a while since I did anything in anger with XML in C but at the time the best offering was the Gnome XML library - libxml from www.xmlsoft.org.

Should be worth a look.

Cheers, Dan


I've used Expat for some time now, which is great if you need a very fast streaming parser for C. I believe there are DOM and SAX extentions if you need them.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号