Tuesday, March 16, 2010

Using xmllint in (Mac)Vim

To reformat XML documents in Vim:

:%!xmllint --format --encode UTF-8 -

More details here.

No comments:

Post a Comment