Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

(v3.4.0) XML: xmllint

LCD 47 edited this page Dec 13, 2014 · 1 revision

Maintainer: Sebastian Kusnier sebastian@kusnier.net

xmllint is a checker and transformer tool for XML files, distributed with the libxml package. See the tool's manual for more information.

Note:

You can use a local installation of DTDs to significantly speed up validation and allow you to validate XML data without network access, see the xmlcatalog manual and the catalog documentation for more information.

For an example of a DTD catalog see f.i. XMLCatalog. In order to use it with syntastic you have to clone it to a local directory, and point the environment variable XML_CATALOG_FILES to the file catalog.xml in the said directory:

XML_CATALOG_FILES=/some/path/XMLCatalog/catalog.xml
export XML_CATALOG_FILES

Otherwise XML catalogs located in /etc/xml/catalog are used by default.

Clone this wiki locally