Xml Tools Plugin For Notepad++ May 2026
XPath 1.0 only (not 2.0 or 3.0). No support for regex in XPath functions. But for 90% of daily queries, it’s perfect. 6. XSLT Transformation (XML → HTML, XML, Text) Menu Path: XML Tools > XSLT Transformation...
| Setting | Recommendation | Why | |---------|----------------|-----| | | 2 spaces | Standard for XML; avoids horizontal scroll. | | Indent attributes | Off (unless attributes are many) | Keeps vertical density reasonable. | | Attributes indent size | 4 spaces | Visually separates attributes from tag. | | Check XML on file load | On | Catches errors before you edit. | | Automatic tag closing | On | Saves keystrokes. | | Ignore XML declaration for check | Off | Declaration is required for well-formedness. | xml tools plugin for notepad++
Comparing two XML files in Notepad++’s Plugins > Compare plugin – pretty print first, then compare. 3. Minify (Compress XML) Menu Path: XML Tools > Minify XPath 1
Key settings:
The & is not allowed. The plugin converts it to: <link url="https://example.com/?id=123&name=John" /> | | Indent attributes | Off (unless attributes
The best tool is the one you have and know how to use. XML Tools ensures that Notepad++ is that tool. Article version 1.0 – Tested with Notepad++ v8.5+ and XML Tools v2.4+
This handles the classic “ampersand problem.”