https://github.com/martinlindhe/validxml
Command line tool to validate and pretty-print XML syntax of input files.
https://github.com/martinlindhe/validxml
command-line-tool xml-validation
Last synced: 2 months ago
JSON representation
Command line tool to validate and pretty-print XML syntax of input files.
- Host: GitHub
- URL: https://github.com/martinlindhe/validxml
- Owner: martinlindhe
- License: mit
- Created: 2019-05-05T20:07:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T16:43:43.000Z (about 3 years ago)
- Last Synced: 2025-04-11T19:13:50.198Z (about 1 year ago)
- Topics: command-line-tool, xml-validation
- Language: Go
- Homepage:
- Size: 90.8 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
Command line tool to validate and pretty-print XML syntax of input
files.
## Installation
Windows and macOS binaries are available under [Releases](https://github.com/martinlindhe/validxml/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](LICENSE)