Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ library for storing settings in XML

Tags:

c++

xml

stl

winapi

Before I start writing by own settings library I though I would try to find an existing one. I've googled and found plenty for C# or MFC but nothing that uses plain C++/STL. I'd like something that allows access via keys such as:

mySettings["Root"]["Subsection"]["Value"].Value

Or something along those lines. Is there anything that can provide that sort of interface to an XML file or am I going to have to roll my own?

Thanks, J

like image 459
JWood Avatar asked Apr 10 '11 10:04

JWood


1 Answers

There is TinyXML and pugixml

PugiXML does have XPath support

like image 105
sehe Avatar answered Sep 23 '22 19:09

sehe