xml canonic
Make XML documents canonical. More information: http://xmlstar.sourceforge.net/docs.php.
- 
Make an XML document canonical, preserving comments:
 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}}
- 
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}}
- 
Display help for the canonicsubcommand:
 xml canonic --help
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.