Lint and reformat XML files. A command line tool for CI pipelines and local dev wrapping
the xmlem
crate.
# lint XML files
xml-lint path/to/file.xml
xml-lint file1.xml file2.xml file3.xml
# fix formatting
xml-lint --fix path/to/file.xml
# see config options, flags, etc.
xml-lint --help
# requires rust/cargo toolchain
cargo install xml-lint
Licensed under either of Apache License, Version 2.0 or MIT license at your option. Any contribution intentionally submitted for inclusion in xml-lint by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.