💾 Archived View for freeshell.de › tldr › xml-format.gmi captured on 2023-07-22 at 18:26:28. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

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

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