https://github.com/sublimelinter/sublimelinter-xmllint
SublimeLinter 3 plugin for XML, using xmllint.
https://github.com/sublimelinter/sublimelinter-xmllint
Last synced: 11 months ago
JSON representation
SublimeLinter 3 plugin for XML, using xmllint.
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-xmllint
- Owner: SublimeLinter
- License: mit
- Created: 2014-01-02T00:30:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T10:35:41.000Z (12 months ago)
- Last Synced: 2025-04-24T11:34:00.991Z (12 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 29
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-xmllint
=========================
[](https://travis-ci.org/SublimeLinter/SublimeLinter-xmllint)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [xmllint](http://xmlsoft.org/xmllint.html).
It will be used with files that have the "XML" syntax.
## Installation
SublimeLinter must be installed in order to use this plugin.
Please use [Package Control](https://packagecontrol.io) 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:
1. On Linux:
```text
[sudo] apt-get install libxml2-utils
```
2. On Windows, either follow the instructions [here](http://flowingmotion.jojordan.org/2011/10/08/3-steps-to-download-xmllint/). 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](https://chocolatey.org/) to install `xsltproc` which also installs `xmllint` (and all other required utilities):
```text
$ choco install xsltproc
```
Please make sure that the path to `xmllint` is available to SublimeLinter.
The docs cover [troubleshooting PATH configuration](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).
## Settings
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html
`xmllint` has many possible command line arguments ("args") which may be passed via the Linter settings.