Home >Development Tools >notepad >How to format xml in notepad

How to format xml in notepad

(*-*)浩
(*-*)浩Original
2019-08-05 15:09:186888browse

When I want to use Notepad to quickly view the xml file exported from somewhere (such as through: uiautomatorviewer), the file is in a mess and makes me dizzy.

How to format xml in notepad

The general situation is as follows: (Recommended learning: notepad use)

How to format xml in notepad

Install XML Tools plug-in

(1) Download XML Tools through the URL http://sourceforge.net/projects/npp-plugins/files/XML Tools/, I downloaded Xml Tools 2.4.9.2 x86 Unicode.zip

(2) Decompress Xml Tools 2.4.9.2 x86 Unicode.zip, close Notepad

(3) Decompress Xml Tools 2.4.9.2 x86 Unicode.zip Finally, copy the XMLTools.dll in the folder to the plugins folder in the Notepad installation directory

(4) Copy all the dll files in the dependencies folder in the unzipped directory to the root directory of Notepad (with notepad .exe is located in the same directory)

! : Whether the XML Tools plug-in is downloaded for x86 or x64 depends on which Notepad you installed. It just needs to be consistent with Notepad.

XML file formatting

After installation, start Notepad, click the Plugins tab, you can see that the XML Tools plug-in has been loaded. If you want to format an XML file, you can choose a series of options starting with Pretty print (here I choose to use the menu in the red box to achieve the effect I want).

How to format xml in notepad

The above is the detailed content of How to format xml in notepad. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn