Format an XML document.
xml format --indent-tab {path/to/input.xml|URI} > {path/to/output.xml}
xml format --html --indent-spaces {4} {path/to/input.html|URI} > {path/to/output.html}
xml format --recover --noindent {path/to/malformed.xml|URI} > {path/to/recovered.xml}
DOCTYPE
declaration:
cat {path\to\input.xml} | xml format --dropdtd > {path/to/output.xml}
xml format --omit-decl {path\to\input.xml|URI} > {path/to/output.xml}
format
subcommand:
xml format --help
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (3851b).Proxy Information
text/gemini;lang=en-GB