Over 10 years we help companies reach their financial and branding goals. Engitech is a values-driven technology agency dedicated.

Gallery

Contacts

285A Gateshead Road, Borehamwood, Greater London, WD6 5LZ.

info@vbridge.co.uk

+44 203 488 9980

+0203 488 0088

Blog

XMLs can come in varying shapes and sizes and often we encounter XMLs which are not formatted and hence not easy on the eye. We used to write emacs macros to format these ugly ones, but not any more. Because xml lint is here and is so easy to use in Ubuntu.
 
xmllint is pre-installed in Ubuntu. To make a good looking and readable XML, use:
xmllint -format ugly.xml -output pretty.xml
Just used it to read a one line, pretty huge XML file from Microsoft and converted into a pretty one :)!