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).
I used tinyxml, QtXml, boost property tree, and, as I remember, pugixml is fastest DOM xml-parser.
As for embedded, I used pugixml with about 9Mb xml-files - and all works fine and fast. But I don't know about your memory limitation - just write simple example and check.
I have used TinyXML 6 months ago, I think it is excellent...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With