Open huge XML files and Pretty-Print

I need to view XML files, each of which is 3-4 GB.

Can someone tell me the best free version of the tool / trial for viewing the huge XML size, because if I open it in some editor, it will give me "Not enough memory"? I need a pretty-print option as well in it. I tried 010 Editor , but there is no print option in it. A.

+7
source share
1 answer

pretty print xml using the xmllint command:

xmllint --format xml_file.xml> pretty_xml_file.xml

and now you can open pretty_xml_file.xml in vi or your favorite editor

+7
source

All Articles