libzypp 17.37.18
zypp::xml Namespace Reference

Namespaces

namespace  detail

Functions

std::string unescape (const std::string &in_r) ZYPP_API
 Unescape xml special charaters (& -> &; from IoBind library)
ZYPP_API detail::EscapedString escape (const std::string &in_r)
 Escape xml special charaters (& -> &; from IoBind library).

Function Documentation

◆ unescape()

std::string zypp::xml::unescape ( const std::string & in_r)

Unescape xml special charaters (& -> &; from IoBind library)

Definition at line 113 of file XmlEscape.cc.

◆ escape()

ZYPP_API detail::EscapedString zypp::xml::escape ( const std::string & in_r)
inline

Escape xml special charaters (& -> &; from IoBind library).

The detail::EscapedString can be dumped to an ostream and implicitly converts into a std::string.

Definition at line 51 of file XmlEscape.h.