Reputation: 19374
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.
Upvotes: 7
Views: 2289
Reputation: 710
I recommend rapidxml. It's an order of magnitude smaller than tinyxml, and doesn't choke on doctypes like tinyxml does.
If you need entity support or anything advanced, forget about static linking and use expat or libxml2.
Upvotes: 4
Reputation: 6651
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++.
Upvotes: 0
Reputation: 78598
FWIW there is also a version of TinyXML with a more C++-like interface, called ticpp.
Upvotes: 3
Reputation: 56083
There's one called libxml2
.
There's also a Windows-only solution, a COM library that's part of the O/S, called msxml
.
Upvotes: 0