You are here

16 May 2016

Pretty print xml file in bash. The simplest way is to use xmllint, since most of your environments use xml linter and that script is already installed on your system.

Source code viewer
  1. xmllint your_file.xml --format -o ouput_file.xml
Programming Language: Bash