Reformat XML

From EggeWiki

Using the XMLStarlet command line tool, one can easily reformat xml. A shortcut for this is to reformat the xml on your clipboard. This little command will read your clipboard, reformat it, and write back to the clipboard.

<geshi> getclip | xml fo | putclip </geshi>