Skip to content

MarkEnverus/xmllint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Container based XML Linter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%