User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

pretty_print_xml_on_command_line [2017/02/17 08:52] (current)
mihael created
Line 1: Line 1:
 +====== Pretty Print XML on Command Line ======
 +Install the ''​libxml2-utils''​ package. It contains the ''​xmllint''​ program. Pipe the xml data to this program like this
 +    cat file.xml | xmllint --format -
 +{{tag>​linux xml}}
pretty_print_xml_on_command_line.txt ยท Last modified: 2017/02/17 08:52 by mihael