xmllint格式化xml

xmllint --format <xmlfile>

...

有时用libxml生成的文件总是不太顺....

原文地址:https://www.cnblogs.com/vimmer/p/2589683.html