xml: added escape, unescape, validate subcommands

This commit is contained in:
Daniel Birket
2021-08-14 21:49:20 -04:00
committed by Starbeamrainbowlabs
parent 9916a0b0f7
commit 3fd2da89bb
4 changed files with 36 additions and 4 deletions

View File

@@ -2,11 +2,11 @@
> XMLStarlet toolkit: Query, edit, check, and transform XML documents.
> Subcommands: `canonic`, `edit`, `elements`, `escape`, `format`, `list`, `pyx`, `p2x`, `select`, `transform`, `unescape`, or `validate`.
> More information: <https://http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
> More information: <http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
- Execute a subcommand with input from a file or URI and using standard output:
`xml {{subcommand}} {{options}} {{xml_file_or_uri}}`
`xml {{subcommand}} {{options}} {{path/to/input.xml|URI}}`
- Execute a subcommand using standard input and standard output:
@@ -14,7 +14,7 @@
- Execute a subcommand with input from a file or URI and output to a file:
`xml {{subcommand}} {{options}} {{xml_file_or_uri}} >{{path/to/output}}`
`xml {{subcommand}} {{options}} {{path/to/input.xml|URI}} >{{path/to/output}}`
- Display help for a subcommand: