Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
XMLEscape.h File Reference
#include <optional>
#include <string_view>
#include "donner/base/RcString.h"
Include dependency graph for XMLEscape.h:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::xml
 XML parsing and document model support, top-level objects are donner::xml::XMLParser and donner::xml::XMLDocument.

Functions

std::optional< RcStringdonner::xml::EscapeAttributeValue (std::string_view value, char quoteChar='"')
 Escape a string for use as an XML attribute value, producing text that round-trips through donner::xml::XMLParser::Parse to recover the original bytes.