Some XML files won't open decently in Notepad ++
gev kavorg last edited by
Some XML files in Notepad ++ open as 1 line, although the same file is opened perfectly (showing it’s structure) in Internet explorer, or Ultra edit after clicking on FIle menu/Format/XML Convert to CR/LFs. Is there a way to open it as expected in Notepad ++?
Alan Kilborn last edited by
Notepad++ is just showing you what is there, textually.
XML Toolsplugin will help you?
supasillyass last edited by
I suspect the file actually is just one looooong line. I don’t know about UltraEdit, but I know Internet Explorer automatically pretty prints single-line XML files. The plugin suggested by @Alan-Kilborn can do it for you (select “with line breaks”), but I don’t think it can be done automatically upon opening a file (anyone?).
PeterJones last edited by
I don’t think it can be done automatically upon opening a file (anyone?).
Natively, no. But with one of the scripting plugins (like PythonScript), you could create a callback on the file-open event, and have it run the appropriate XML Tools command when it sees the right extension or right file type.