Short question: any comments on comparison of pugixml and tinyxml please?
Details I need to use an XML parser/writer. My software is written in C++.
It seems to me TinyXML and pugixml are both good options (RapidXML is good as well but its interface does not seem to be as easy as the above two as I have to manage data allocations myself).
Do people have any comments on the comparison between the two? I am working on an embedded platform so memory handling is important to me, and I need to be able to both parse and write XML data.
Speed is not that important but memory usage and easier interface are.
Thanks. PS The XML files I am dealing with are fairly small (max size=1200bytes; max elements=6 or 7; XML files are fairly simple).
You might look at Expat. I have used it for about 8 years in a commercial product without any trouble. It is open-source with a non-viral license.