Registry / serialization / rapidxml

rapidxml

JSON →
library1.13vcpkgunverified

RapidXml is an attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility.

vcpkg install rapidxml
INSTALL
IMPORT
SIG · RAPIDXML
R
rapidxml
serializationcppv1.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rapidxml.hpp
✓ #include <rapidxml.hpp>

Parse an XML string and extract a value

#include <rapidxml.hpp> #include <iostream> int main() { char xml[] = "<root><item>Hello</item></root>"; rapidxml::xml_document<> doc; doc.parse<0>(xml); std::cout << doc.first_node("root")->first_node("item")->value() << std::endl; return 0; }
Debug
Known issues
gotchaRapidXml modifies the input string in-place; the input buffer must be mutable and remain valid during parsing.
fix
Use a non-const char array or copy the string into a mutable buffer before parsing.
affects: all
Upgrade
Version history
1.13latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

rapidxml — pip install rapidxml · libregistry