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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login