Reformat XML

From EggeWiki
Revision as of 19:57, 17 November 2009 by Brianegge (talk | contribs) (Created page with 'Using the [http://xmlstar.sourceforge.net/ XMLStarlet] command line tool, one can easily reformat xml. A shortcut for this is to reformat the xml on your clipboard. This little…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>