Forrest logo
back to context overview

xml-format

List of commands for xml-format:

  • xml-format:tldr:0eb28 xml-format: Format an XML document, indenting with tabs.
    $ xml format --indent-tab ${select} > ${path-to-output-xml}
    try on your machine
    explain this command
  • xml-format:tldr:45ef2 xml-format: Recover parsable parts of a malformed XML document, without indenting.
    $ xml format --recover --noindent ${select} > ${path-to-recovered-xml}
    try on your machine
    explain this command
  • xml-format:tldr:7faa8 xml-format: Display help for the `format` subcommand.
    $ xml format --help
    try on your machine
    explain this command
  • xml-format:tldr:a6807 xml-format: Format an HTML document, indenting with 4 spaces.
    $ xml format --html --indent-spaces ${4} ${select} > ${path-to-output-html}
    try on your machine
    explain this command
  • xml-format:tldr:c7315 xml-format: Format an XML document from `stdin`, removing the `DOCTYPE` declaration.
    $ cat ${path\to\input-xml} | xml format --dropdtd > ${path-to-output-xml}
    try on your machine
    explain this command
  • xml-format:tldr:fd10e xml-format: Format an XML document, omitting the XML declaration.
    $ xml format --omit-decl ${select} > ${path-to-output-xml}
    try on your machine
    explain this command
back to context overview