Home  >  Article  >  Development Tools  >  How to format xml file using notepad++

How to format xml file using notepad++

(*-*)浩
(*-*)浩Original
2019-08-09 13:52:435868browse

How to format xml file using notepad++

When I want to use Notepad to quickly view the exported xml file, the file is in a mess and makes me dizzy.

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

How to format xml file using 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) After decompressing Xml Tools 2.4.9.2 x86 Unicode.zip, XMLTools in the folder Copy the .dll 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 (located in the same directory as notepad .exe )

! : 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 plug-in tab, you can see that the XML Tools plug-in has been loaded. If you want to format an XML file, select 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 file using notepad++

The above is the detailed content of How to format xml file using 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