💾 Archived View for freeshell.de › tldr › xml-format.gmi captured on 2022-04-28 at 19:49:07. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

xml format

Format an XML document.

More information.

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}
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}
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