This class can be used to reformat existing XML documents and eventually make them more readable to humans.
It parses a given XML document and rewrites it by performing optional changes like indenting tags, adding line breaks and applying transformations to special characters, and use regular expressions to replace character data.