View Source XmerlXmlIndentBase (XmerlXmlIndent v0.2.0)

Erlang OTP's built-in xmerl library lacks functionality to print XML with indent. This module fills the gap by providing a custom callback to print XML with indent.

This module is taken from https://github.com/erlang/otp/blob/master/lib/xmerl/src/xmerl_xml.erl, converted to Elixir and modified for indentation.

This module is used in conjunction with Erlang's xmerl library. See the project documentation for details.