# xml > XMLStarlet toolkit: Query / Edit / Check / Transform XML documents. > Subcommands: `edit`, `select`, `transform`, `validate`, `format`, `elements`, `canonic`, `list`, `escape`, `unescape`, `pyx`, or `p2x`. > More information: . - Execute a subcommand: `xml {{subcommand}} {{options}} {{xml-file-or-uri}}` - Execute a subcommand, redirecting output to a file: `xml {{subcommand}} {{options}} {{xml-file-or-uri}} >{{path/to/output}}` - Display help for a subcommand: `xml {{subcommand}} --help` - Display general help: `xml --help` - Display version: `xml --version`