{"id":60183,"library":"pugixml","title":"pugixml","description":"Light-weight, simple and fast XML parser for C++ with XPath support.","status":"active","version":"1.13.0","language":"cpp","source_language":null,"source_url":null,"tags":["xml","parser","xpath","lightweight"],"install":[{"cmd":"vcpkg install pugixml","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(pugixml CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE pugixml::pugixml)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"pugixml.hpp","correct":"#include <pugixml.hpp>"}],"quickstart":{"code":"#include \"pugixml.hpp\"\n#include <iostream>\n\nint main() {\n    pugi::xml_document doc;\n    if (doc.load_string(\"<root><child/></root>\")) {\n        std::cout << \"XML parsed successfully\" << std::endl;\n    }\n    return 0;\n}","lang":"cpp","description":"Parse an XML string and check for success."},"warnings":[{"fix":"Use target_link_libraries(your_target PRIVATE pugixml::pugixml)","message":"pugixml is header-only by default, but the vcpkg port provides a static library. Ensure you link against pugixml::pugixml.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'c':11 'fast':7 'light':3 'light-weight':2 'lightweight':18 'parser':9,16 'pugixml':1 'simpl':5 'support':14 'weight':4 'xml':8,15 'xpath':13,17","created_at":"2026-06-16T19:19:59.793523+00:00","updated_at":"2026-06-16T19:19:59.793523+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}