💾 Archived View for freeshell.de › tldr › xml-format.gmi captured on 2022-06-12 at 00:02:31. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
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}
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).