PugiXML is a fast XML parser based on C++. This libpugi C API helps people to combine PugiXML with C code.
- Input Parameter use C standard datatype
- Pugi Document can be use in anywhere (global)
- Fine-tune API speed and path rule
1.0
libpugi uses open source project to work properly:
- pugixml - C++ XML processing library
git clone [git-repo-url] libpugi
cd libpugi
make
Open xml file [realted or direct path]
Create unique identifier handler for a path to the near by node/attribute
Clean unique identifier handler
Access attribute to parse value
Its better to create more attribute than more node level, more faster while parsing.
use ':' as delimiter for the path while travel the xml file, for example "Project:Tools:Tool1" represent as a tree path from Project(root)->Tools->Tool1(node).
./test_xml // parsing attribute from xml_testing.xml
There are serveral option inside
pugiconfig.hpp
, change config to suit purpose.
vim pugiconfig.hpp //direct modifiy configuration
make clean
make
NON
Free Software, feel free to use it!