Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

XML Linter

xmllint makes it easier to lint and schema validate XML files.


It uses docker to make the setup simpler, so you will not have to install all the dependencies manually.

All you have to do is:

  • Install docker
  • Add your local user to docker group:
    sudo usermod -aG docker <your_user>
  • Pull image (from Hub):
docker pull mribeiro/xmllint

or build locally using this repo (which is way much cooler):

make build-image


Use it as you would use the xmllint command.


# Show xmllint help
docker run -i --rm mribeiro/xmllint --help

# Lint foo.xml to stdout
docker run -i --rm -v $PWD:/data mribeiro/xmllint foo.xml

# Validate foo.xml against foo.xsd schema
docker run -i --rm -v $PWD:/data mribeiro/xmllint --schema foo.xsd foo.xml
Docker Pull Command
Source Repository