xml: Changes requested by Starbeamrainbowlabs
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
786342aeef
commit
4f79b0d5d1
@@ -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`
|
||||
|
Reference in New Issue
Block a user