martinlindhe / validxml

Command line tool to validate and pretty-print XML syntax of input files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Command line tool to validate and pretty-print XML syntax of input files.

Installation

Windows and macOS binaries are available under Releases

Or install from source:

go get -u github.com/martinlindhe/validxml

Usage

Exit code will be 0 if file is good.

$ validxml file.xml
OK: file.xml

$ curl http://site.com/file.xml | validxml
OK: -

Pretty-print

$ validxml -p file.xml

License

Under MIT

About

Command line tool to validate and pretty-print XML syntax of input files.

License:MIT License


Languages

Language:Go 97.6%Language:Makefile 2.4%