A xml editor for messed files on linux

140 Views Asked by At

Hello I have a tool called reportico that generates xml conf file automatically. But that xml file are messed up, I mean there are no indentation and almost all is in the same line. That file is quite long. I'm looking for a editor that ordinates that xml file in order I can edit it easily. I use linux so that editor has to run on linux.

Thanks in advance.

2

There are 2 best solutions below

0
On

You can try xmllint

xmllint --format my_file_name.xml
0
On

UltraEdit for Linux (UEX) has in menu Format a command to convert single-line XML feed to properly formatted XML document.

See the feature list of UEX for other XML related features like integrated xmllint support and an XML manager.