Beautify already correct xml content with easy vi/vim spell...
:%!xmllint --format %
presto human friendly formatting for monolithic xml files with no indenting or newlines etc.
Before....
and voila....
If this throws an error on ubuntu (indicating not installed), install libxml2-utils and all will be well.


Comments
Post a Comment
Comments welcome!