XML tools



  • Hi i’m trying to get the XML tool plugins butim getting how to install option under xml tools. Please assist.



  • welcome to the notepad++ community, @Cee-Qhawekazi-Mhlongo

    first please upgrade your existing notepad++ to 7.6.2 with the installer from here
    (choose 32 or 64 bit, installer exe, or portable zip, depending on your current installation)
    start notepad++.exe and open plugins admin as shown in this screenshot:

    Imgur

    now enter xml in the search field and hit next until you see xml tools, select it as seen in this screenshot and hit install:

    Imgur

    after the install you will have the full xml tools menu:

    Imgur

    i hope this helps you.

    note: for further information or guides, we will need your debug information. please go to the notepad++ menu ? > debug info > copy debug info into clipboard and paste the information here



  • It doesn’t install after i select it nothing happens



  • thank you for your response, @Cee-Qhawekazi-Mhlongo

    It doesn’t install after i select it nothing happens

    for further information or guides, we will need your debug information. please go to the notepad++ menu ? > debug info > copy debug info into clipboard and paste the information here



  • I have the same problem…here’s my debug info:

    Notepad++ v7.5.9 (32-bit)
    Build time : Oct 14 2018 - 15:02:52
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 7 (64-bit)
    Plugins : NppExport.dll HTMLTag_unicode.dll mimeTools.dll NppConverter.dll NPPJSONViewer.dll nppplugin_solutionhub.dll nppplugin_solutionhub_ui.dll nppplugin_svn.dll PluginManager.dll XMLTools.dll

    I run as a non-admin, but am prompted and provide correct admin account creds when NP++ asks for it. the xmltools.dll is placed in the plugins subfolder. The “How to install” popup says: Please install external DLLs into NPP root directory… I even tried that and did not work



  • welcome to the notepad++ community, @John-Travers

    yes, i can reproduce this perfectly on notepad++ 7.5.9 using the old “Plugin Manager”.
    the maximum i can get is the same xml tools “how to install” pop up window you see.

    you will need to upgrade to 7.6.3 to get the new “plugins admin” as the old “plugin manager” seems to produce this if you try to install xml tools with it.

    first please upgrade your existing notepad++ to 7.6.3 with the 32 bit updater/installer from >>> here <<<.
    (note: you don’t have to uninstall your current notepad++ 7.5.9, just run the npp.7.6.3.Installer.exe and install it over your current version)

    after that start notepad++.exe and open “plugins admin” as shown at this screenshot:
    important: do not use the old “plugin manager”, as it will not put plugins to the correct locations of newer notepad versions 7.6.0 to 7.6.3.

    Imgur

    now enter xml in the search field and hit next until you see xml tools, select it as seen in this screenshot and hit install.
    (you will now be prompted for your administrator credentials)

    Imgur

    after the install you will have the full xml tools menu:

    Imgur

    note: if you need other plugins as well, you will also have to re-install them using the official "plugins admin"

    if you need older plugins, that are not available in “plugins admin” we can guide you where to put them manually
    (eg. if you had old plugins before, they will have to be moved, as the plugins subfolder structure has changed a bit).

    i hope this helps you.



  • I have been struggling trying to make XML Tools appear for the past 2 days and have not been successful.
    I have uninstalled all I had, reinstalled 7.6.3 from scratch but everytime I click to install XML Tools, a windows admin popup window comes up, I select Yes to proceed then N++ loads up and still no XML Tools.
    I have followed the instructions to a tee. Anyone else having the same issue where XML Tools just stopped working and will not appear after installing it using the Plugins Admin that comes with N++ 7.6.3?



  • @Gabriel-Poulin ,

    After you do the install procedure, and “N++ loads up and still no XML Tools”: please go to the menu ? > Debug Info > Copy debug info to clipboard and paste in your reply to this topic. Also, what does your %Program Files%\Notepad++\Plugins directory look like? copy/paste the dir from a cmd.exe window, or embed an screenshot of explorer using the ![](https://url.to/image.png)-syntax for an externally-hosted image (such as imgur.com).

    We need this information to be able to determine whether it’s that the install didn’t happen (right), or whether something else is going wrong.



  • The dubug info:

    Notepad++ v7.6.3 (32-bit)
    Build time : Jan 27 2019 - 17:20:30
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll

    Directory of C:\Program Files (x86)\Notepad++\plugins

    02/01/2019 09:03 AM <DIR> .
    02/01/2019 09:03 AM <DIR> …
    01/31/2019 01:56 PM <DIR> ComparePlugin
    01/31/2019 01:56 PM 213,504 ComparePlugin.dll
    02/01/2019 09:03 AM <DIR> Config
    01/31/2019 01:58 PM <DIR> doc
    02/01/2019 09:03 AM <DIR> DSpellCheck
    02/01/2019 09:03 AM <DIR> mimeTools
    02/01/2019 09:03 AM <DIR> NppConverter
    02/01/2019 09:03 AM <DIR> NppExport
    01/31/2019 01:57 PM 2,728,960 NppFTP.dll
    01/31/2019 01:55 PM 497,152 PluginManager.dll
    01/31/2019 01:58 PM 81,920 SpellChecker.dll
    01/31/2019 01:58 PM 2,131,968 XMLTools.dll
    5 File(s) 5,653,504 bytes
    9 Dir(s) 275,868,667,904 bytes free

    C:\Program Files (x86)\Notepad++\plugins>




  • Okay, so that says that it didn’t even try to write the XML Tools DLL.

    Next experiment: follow @Meta-Chuh’s advice in https://notepad-plus-plus.org/community/topic/17030/how-to-get-a-plugin-in-notepad-v7-6/5 (hover-over shows timestamp of 2019-02-01T15:47:10.780Z) – close all instances of Notepad++; download a portable zipfile 7.6.3 32bit, unzip into a folder on your desktop (or other temporary location); run notepad++.exe from the portable directory, use Plugins > Plugins Admin to install XML Tools in your portable version; check to make sure it installed, and/or give the portable’s DebugInfo and portable directory listing for the ...\plugins\ portable directory…



  • @Gabriel-Poulin

    thank you for taking the time to provide us with your debug data, your dir listing, and your screenshots, as well as your patience for the last 2 days, it’s much appreciated and welcome to the club of patient people 😉.

    we are looking forward to read your results, after you’ve tested a portable version as suggested by @PeterJones.
    direct portable download link to npp.7.6.3.bin.zip

    if you want to install xmltools manually right now, until we figured out how we could help to fix your specific case:

    • please download xmltools manually from here: https://github.com/morbac/xmltools/releases/download/2.4.11.0/Xml.Tools.2.4.11.0.x86.Unicode.zip

    • extract Xml.Tools.2.4.11.0.x86.Unicode.zip anywhere to a temporary location

    • create a folder XMLTools inside of C:\Program Files (x86)\Notepad++\plugins\

    • copy the files XMLTools.dll and change.log as well as the whole folder libs from the extracted Xml.Tools.2.4.11.0.x86.Unicode folder to: C:\Program Files (x86)\Notepad++\plugins\XMLTools

    • restart notepad++ (only necessary if it was opened while copying the xmltools plugin to it’s folder destination)


    if you are interested on some tech info (reading can be skipped freely, as it does not contain any solutions):

    01/31/2019 01:58 PM 2,131,968 XMLTools.dll

    this looks very strange and i don’t fully understand it yet:

    the xmltools.dll is inside the plugins folder, but outside of it’s (missing) xmltools sub folder.
    it has been “created” yesterday, so it is definitively downloaded either by plugins admin or plugins manager, and not manually, put there as both do not preserve the original dll creation time (when extracted by gpup.exe or gup.exe), reflecting only the installation date.

    now if it would have been extracted by the new plugins admin, it would have created the libs folder as well, and that one is also missing.

    if it would have been installed by the old plugin manager, you would find zlib1.dll directly inside of C:\Program Files (x86)\Notepad++\ with the same creation date as your XMLTools.dll.



  • I followed the instructions in the other thread where I deleted everything N++ from my the hard drive and registry (there was over 100 + in there due to all the manual file extension settings I had put in the past 7 years).
    I also tried the test temp location stand alone on a desktop folder, same issue.

    The only way I was able to make it work was via Manually copying the files in the XMLTools folder I created in Plugins. That worked, thank!

    It could be because I am on a corp latop behind a corp firewall too?



  • thanks @Gabriel-Poulin for reporting back.
    we’re glad to hear that you got it running with a manual install. 👍

    It could be because I am on a corp latop behind a corp firewall too?

    o.m.g… yes, i am so sorry, this time i completely forgot to ask if you are behind a corporate proxy or firewall. 😳 my sincere apologies.

    if you are behind a proxy, you can set it at the notepad++ menu ? > set updater proxy as seen at the screenshot below, as long as you know the proxy server address and port.

    note: usually you can find the proxy settings at the connection settings of your browser.

    Imgur

    enter your company’s proxy server ip address and port number here as seen at the next screenshot.
    (note: do not use the example ip and port, they will not work, except if your company uses the same values by coincidence)

    Imgur

    note: currently notepad++ does not support proxy authentication (user name and password), so it will not work, if your corporate proxy/firewall needs user credentials.



  • that won’t work as my proxy does require login creds.
    I will leave it as it is for the manual installation, at least that got me going and I can stop pulling any hairs I may have left :)

    Thanks all for your help



  • Hey guys, can I thread hijack (as I am having the exact same issue, except for me the manual method doesn’t work as well)?

    I’m also behind a corporate firewall, except I don’t even know what my proxy server IP address is (it’s configured via a script).

    Debug info:
    Notepad++ v7.7.1 (32-bit)
    Build time : Jun 16 2019 - 21:14:50
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 7 (64-bit)
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll

    Dir:
    Directory of C:\Program Files (x86)\Notepad++\plugins\XML Tools

    11/07/2019 07:32 PM <DIR> .
    11/07/2019 07:32 PM <DIR> …
    21/11/2018 08:02 AM 9,116 change.log
    21/11/2018 08:02 AM <DIR> libs
    22/11/2018 06:47 AM 2,131,968 XMLTools.dll
    2 File(s) 2,141,084 bytes

    Directory of C:\Program Files (x86)\Notepad++\plugins\XML Tools\libs

    21/11/2018 08:02 AM <DIR> .
    21/11/2018 08:02 AM <DIR> …
    19/03/2015 09:56 PM 1,281,639 libiconv-2.dll
    19/03/2015 09:56 PM 75,496 libwinpthread-1.dll
    19/03/2015 09:56 PM 4,535,910 libxml2-2.dll
    19/03/2015 09:56 PM 941,389 libxslt-1.dll
    19/03/2015 09:56 PM 103,424 zlib1.dll
    5 File(s) 6,937,858 bytes

     Total Files Listed:
               7 File(s)      9,078,942 bytes
    

    Thanks!



  • @oryz

    as you have Local Conf mode : OFF I would have expected that your plugins
    get loaded from appdata directory instead of the installation directory.
    Your listing, in general, looks good to me.



  • @Ekopalypse said:

    as you have Local Conf mode : OFF I would have expected that your plugins
    get loaded from appdata directory instead of the installation directory.

    Uhm, I think that was the case back in the days of Npp v7.6 …

    @oryz

    The plugin directory is namd XML Tools (note the space character between them) but it should be XMLTools (exactly like the plugin DLL name without the .dll extension).



  • @dinkumoil

    Uhm, I think that was the case back in the days of Npp v7.6 …

    Are you sure? I’m somehow reluctant to install npp to test.

    The plugin directory is named XML Tools

    looks like it is, if we can take the directory listing as granted

    Directory of C:\Program Files (x86)\Notepad++\plugins\XML Tools\libs



  • @Ekopalypse said:

    Are you sure?

    Yes, of course. Local installations of Notepad++ (created by installer) since v7.6.3 store plugins in

    • %ProgramFiles%\Notepad++\plugins\<Plugin name> (32 bit OS)
    • %ProgramFiles(x86)%\Notepad++\plugins\<Plugin name> (64 bit OS, 32 bit Npp)
    • %ProgramFiles%\Notepad++\plugins\<Plugin name> (64 bit OS, 64 bit Npp)


  • @dinkumoil said:

    The plugin directory is namd XML Tools (note the space character between them) but it should be XMLTools (exactly like the plugin DLL name without the .dll extension).

    I think this was it! I actually ended up resolving the issue by disconnecting from the work VPN (I was at home) and then the Plugin Admin worked… You are right it installed the plugin in :
    %ProgramFiles(x86)%\Notepad++\plugins\XMLTools\ [NO SPACE] (64 bit OS, 32 bit Npp)

    It would be nice if NPP Plugin Admin would notify the user when it fails to connect to the plugin repository.

    Hopefully this would help others trying to install the plugin manually.

    Thanks for the help!


Log in to reply