Sign inSign up

mribeiro/xmllint

By mribeiro

•Updated almost 11 years ago

Image
1

100K+

mribeiro/xmllint repository overview

⁠XML Linter

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

⁠Setup

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:

sudo usermod -aG docker <your_user>
docker pull mribeiro/xmllint

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

make build-image

⁠Usage:

Use it as you would use the xmllint command.

Examples:

# 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

Tag summary

Content type

Image

Digest

sha256:e8293a790…

Size

51.9 MB

Last updated

almost 11 years ago

docker pull mribeiro/xmllint