mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
26 lines
643 B
Markdown
26 lines
643 B
Markdown
![]() |
# 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: <https://http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
|
||
|
|
||
|
- 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`
|