xml: changes requested by marchersimon,

which undo the "the" changes previously made for sbrl.
The `select`, `edit`, and `transform` subcommands are not yet ready.
This commit is contained in:
Daniel Birket
2021-08-20 21:33:37 -04:00
committed by Starbeamrainbowlabs
parent 4f79b0d5d1
commit 82f626c693
10 changed files with 37 additions and 36 deletions

View File

@@ -3,15 +3,15 @@
> Make XML documents canonical.
> More information: <http://xmlstar.sourceforge.net/docs.php>.
- Make an XML document canonical, preserving comments (default behavior):
- Make an XML document canonical, preserving comments:
`xml canonic --with-comments {{path/to/input.xml|URI}} >{{path/to/output.xml}}`
`xml canonic {{path/to/input.xml|URI}} > {{path/to/output.xml}}`
- Make an XML document canonical, removing comments:
`xml canonic --without-comments {{path/to/input.xml|URI}} >{{path/to/output.xml}}`
`xml canonic --without-comments {{path/to/input.xml|URI}} > {{path/to/output.xml}}`
- Exclusive XML canonicalization, using an XPATH from a file, preserving comments:
- Make XML exclusively canonical, using an XPATH from a file, preserving comments:
`xml canonic --exc-with-comments {{path/to/input.xml|URI}} {{path/to/c14n.xpath}}`