src/core/XMLMinifier.h

XMLMinifier [Module]

Description

The XMLMinifier module provides functionality to reduce the size of XML files by removing insignificant whitespace, newlines, and formatting.

Functions

std::string minifyXML(const std::string& xmlContent)
Minifies the provided XML string by stripping whitespace between tags.
Parameters
  • xmlContent: The original XML content to minify.
Returns
A string containing the minified XML.