This linter plugin for SublimeLinter provides an interface to xmllint. It will be used with files that have the "XML" syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before using this plugin, ensure that xmllint
is installed on your system.
On recent versions of Mac OS X, xmllint
comes pre-installed. To install xmllint
on other platforms, do the following:
On Linux:
[sudo] apt-get install libxml2-utils
On Windows, either follow the instructions here. There is another version on code.google.com, but that version is incompatible with this plugin. A much quicker, easier and robust solution is to use Chocolatey to install xsltproc
which also installs xmllint
(and all other required utilities):
$ choco install xsltproc
Please make sure that the path to xmllint
is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
xmllint
has many possible command line arguments ("args") which may be passed via the Linter settings.