XML Formatter

Pretty-print or minify XML — comments, CDATA and namespaces kept.