About XML Formatter
Read XML structure while keeping an eye on text-sensitive sections. The formatter indents element-only nesting and serializes mixed-content and xml:space-preserved subtrees without inserting its own indentation inside them.
Element indentation
Adds two spaces per level to element-only branches.
Mixed text handling
Serializes mixed-content branches without its own indentation.
