xml-formatter
Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute
xformatting
Formats XML into a more readable format by inserting linebreaks and indents. Supports all element types (e.g. processing instructions) and also the xml:space attribute