LinuxCommandLibrary

xml

XMLStarlet Toolkit: Query, edit, check, convert and transform XML documents.

TLDR

Display general help, including the list of subcommands

$ xml --help
copy


Execute a subcommand with input from a file or URI, printing to stdout
$ xml [subcommand] [options] [path/to/input.xml|URI]
copy


Execute a subcommand using stdin and stdout
$ xml [subcommand] [options]
copy


Execute a subcommand with input from a file or URI and output to a file
$ xml [subcommand] [options] [path/to/input.xml|URI] > [path/to/output]
copy


Display help for a subcommand
$ xml [subcommand] --help
copy


Display the version of the XMLStarlet Toolkit
$ xml --version
copy

Copied to clipboard