Use xmllint (from libxml2) and xsltproc (from libxslt) from within Gedit to validate an XML document.
1) Download the xmlvaltran.py and xmlvaltran.plugin files to the "~/.local/share/gedit/plugins/" directory. If the directory does not exist, create it: "mkdir -p ~/.local/share/gedit/plugins/"
2) Start or restart Gedit, and go to "Edit -> Preferences -> Plugins".
3) Select the checkbox next to "XML Validator/Transformer". The plugin will be displayed in the side panel of Gedit.
Be the first to post a review of XmlValTran!