Best XML Parser for C

We need to add a new interface to the existing C-application. The new interface system requests our C application, and the responses to the interface are XML files. We need to find a way to read and write XML files. There seem to be 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 fine if this is a commercial API.

thank

+3
source share
3 answers

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

+6
source

, - XML C, Gnome XML - libxml www.xmlsoft.org.

.

Cheers, Dan

+2

I have been using Expat for some time, which is great if you need a very fast streaming parser for C. I believe that DOM and SAX exist if you need them.

+2
source

Source: https://habr.com/ru/post/1729528/


All Articles