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,20 +1,20 @@
# xml-canonic
# xml canonic
> Make XML documents canonical.
> More information: <http://xmlstar.sourceforge.net/docs.php>.
- Make an XML document canonical, including comments (default):
- Make an XML document canonical, preserving comments (default behavior):
`xml canonic --with-comments {{path/to/input.xml|URI}} >{{path/to/output.xml}}`
- Make an XML document canonical, without comments:
- Make an XML document canonical, removing comments:
`xml canonic --without-comments {{path/to/input.xml|URI}} >{{path/to/output.xml}}`
- Exclusive XML canonicalization, using an XPATH from a file:
- Exclusive XML canonicalization, using an XPATH from a file, preserving comments:
`xml canonic --exc-with-comments {{path/to/input.xml|URI}} {{path/to/c14n.xpath}}`
- Display help for `canonic` subcommand:
- Display help for the `canonic` subcommand:
`xml canonic --help`