From bc4856feeb1c506edc24c5ab5c0d327059555b46 Mon Sep 17 00:00:00 2001 From: Daniel Birket Date: Sat, 14 Aug 2021 18:46:16 -0400 Subject: [PATCH] xml: explain general input and output --- pages/common/xml.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pages/common/xml.md b/pages/common/xml.md index dc0a139671..cae53c6f95 100644 --- a/pages/common/xml.md +++ b/pages/common/xml.md @@ -1,16 +1,20 @@ # xml > XMLStarlet toolkit: Query / Edit / Check / Transform XML documents. -> Subcommands: `edit`, `select`, `transform`, `validate`, `format`, `elements`, `canonic`, `list`, `escape`, `unescape`, `pyx`, or `p2x`. +> Subcommands: `canonic`, `edit`, `elements`, `escape`, `format`, `list`, `pyx`, `p2x`, `select`, `transform`, `unescape`, or `validate`. > More information: . -- Execute a subcommand: +- Execute a subcommand with input from a file and using standard output: -`xml {{subcommand}} {{options}} {{xml-file-or-uri}}` +`xml {{subcommand}} {{options}} {{xml_file_or_uri}}` -- Execute a subcommand, redirecting output to a file: +- Execute a subcommand using standard input and standard output: -`xml {{subcommand}} {{options}} {{xml-file-or-uri}} >{{path/to/output}}` +`xml {{subcommand}} {{options}}` + +- Execute a subcommand with input from a file and output to a file: + +`xml {{subcommand}} {{options}} {{xml_file_or_uri}} >{{path/to/output}}` - Display help for a subcommand: