add xml library

This commit is contained in:
MihailRis 2026-07-22 21:55:53 +03:00
parent 5284d4acaa
commit c7ba237933
5 changed files with 106 additions and 0 deletions

View file

@ -528,3 +528,11 @@ std::string xml::stringify(
return ss.str();
}
std::string xml::stringify(
const Node& element, bool nice, const std::string& indentStr
) {
std::stringstream ss;
stringifyElement(ss, element, nice, indentStr, 0);
return ss.str();
}