Some XML files won't open decently in Notepad ++
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 ++?
Notepad++ is just showing you what is there, textually.
XML Toolsplugin will help you?
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?).
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.