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.
+6
A:
expat is a very fast C XML parser (although a C++ wrapper exists) that's widely used in many open-source projects. If I remember correctly, it has very few dependencies, and it's licensed under the very liberal MIT License.
igowen
2009-01-11 18:07:31
Sounds good, gotta take a look at it, especially how difficult it is to build it.
Anteru
2009-01-11 18:58:50
A:
There's one called libxml2
.
There's also a Windows-only solution, a COM library that's part of the O/S, called msxml
.
ChrisW
2009-01-11 18:35:00
+3
A:
FWIW there is also a version of TinyXML with a more C++-like interface, called ticpp.
Rob
2009-01-11 19:00:52
A:
In "what’s the easiest way to generate xml in c++?" I wrote a comment that lists a few C++ XML libraries
TinyXML++ (ticpp) was, IMHO, the most appropriate for a small, easy to use XML library in C++.
MattyT
2009-01-12 01:06:50