xml: Changes requested by Starbeamrainbowlabs

This commit is contained in:
Daniel Birket
2021-08-16 08:23:55 -04:00
committed by Starbeamrainbowlabs
parent 786342aeef
commit 4f79b0d5d1
13 changed files with 50 additions and 50 deletions

View File

@@ -1,21 +1,21 @@
# xml-elements
# xml elements
> Extract elements and structure of an XML document.
> Extract elements and display structure of an XML document.
> More information: <http://xmlstar.sourceforge.net/docs.php>.
- Extract elements of an XML document (as XPATH expressions):
- Extract elements from an XML document (producing XPATH expressions):
`xml elements {{path/to/input.xml|URI}} >{{path/to/elements}}`
- Extract elements and attributes of an XML document:
- Extract elements and attributes from an XML document:
`xml elements -a {{path/to/input.xml|URI}} >{{path/to/elements}}`
- Extract elements, attributes, and their values:
- Extract elements, attributes, and their values from an XML doc:
`xml elements -v {{path/to/input.xml|URI}} >{{path/to/elements}}`
- Print sorted unique elements of an XML document (to see structure):
- Print sorted unique elements from an XML document (to see structure):
`xml elements -u {{path/to/input.xml|URI}}`
@@ -23,6 +23,6 @@
`xml elements -d{{3}} {{path/to/input.xml|URI}}`
- Display help for `elements` subcommand:
- Display help for the `elements` subcommand:
`xml elements --help`