XML pretty print not working
-
Hi,
I’m using Notepad++ 7.7.1 with XML Tools Plugin 3.1.1.1
I’m unable to get pretty print to work. The input XML is a single line and it’s shown with pretty format in a browser. In Notepad++ it’s shown as 3 lines
<?xml version=“1.0”?>[CR][LF]
The node is neither valid nor invalid because no DTD/Schema declaration was found
XML contentNote the [CR][LF] at the end of the first line
How could I fix it? I can’t upgrade it
Thanks
-
@Hao Please note the following hints to formatting in this forum. There you can find how to mark text to be inserted literally and thus avoiding to get it mangled by the forum software.
The CR LF is most likely shown because you have activated the option to show special characters which are normally invisible. Just hit the Pilcrow Symbol (“¶”) in the toolbar to disable.
In the XMLTools Menu disable the Option “Enable auto Validation” and reload the file. That should prevent the other lines form appearing.
Your version of Notepad++ is pretty outdated. Maybe you should ask your Admin about possibilities to update.