Thursday, August 30, 2018

Validate XML against XSD with Notepad++


  1. Add Plugin Manager to Notepad++ if it is not listed under "Plugins".
    1. Download the latest Notepad++ plugin manager from here.
    2. Extract the downloaded zip file.
    3. Import "PluginManager.dll" to Notepad++ ( Settings > Import > Import  plugin(s) ) inside the plugin folder of the extracted folder.
    4. If it is not working, copy PluginManager.dll to plugins folder inside Notepad++ installed folder.
       

    5. Copy gpup.exe inside the plugin folder of the extracted folder to updater directory where Notepad++ installed.

  2.  Now you will see "Plugin Manager" in Notepad++ (Plugins -> Plugin Manager)


  3. Then go to Plugins > Plugin Manager > Show Plugin Manager. Then select XML Tools plugin and click Install.


  4. Open XML document you want to validate and go to Plugins > XML Tools > Validate Now. Then, the following dialog will be open.


  5. Then select the relevant xsd file and click OK.

  6. If the validations are fine, you will receive following message.



  7. Else you will receive the following message with error reasons.