Under Windows to parse XML one can use the COM based XML API but I wondered if there is any C++ XML libraries out there I can use for this purpose, without needing to get into the intricacies of COM?
I suggest pugixml. Pugixml is Light-weight, simple and fast XML parser for C++ with XPath support
Here is the quick start guide, and here is a benchmark, notice how only AsmXML is faster than pugixml.
AFAIK, the most efficient open-source parser library for C, C#, C++, and Java nowadays is VTD-XML. In terms of performance, it beats DOM, SAX, and XPath. I has converted the library to Delphi for my private project, and I found that VTD-XML is just like what it claims. See VTD-XML Benchmark.
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