Regina 7.4 Calculation Engine
regina::xml Namespace Reference

Various classes and routines for XML manipulation, some taken or modified from the libxml++ library. More...

Functions

std::string xmlEncodeSpecialChars (const std::string &original)
 Returns the given string with special characters converted to XML entities.
 
std::string xmlEncodeComment (const std::string &comment)
 Returns the given string encoded so it is suitable for use inside an XML comment.
 
template<class T >
std::string xmlValueTag (const std::string &tagName, const T &value)
 Returns an XML tag with a single property containing the given value.
 

Detailed Description

Various classes and routines for XML manipulation, some taken or modified from the libxml++ library.

The libxml2 library is used to do most of the underlying work.

See the xmlutils.h file documentation for libxml++ license details.